Class | Estraier::Result |
In: |
estraier-doc.rb
|
Parent: | Object |
++ Abstraction of result set from database.
Get the index of the container database of a document. `index’ specifies the index of a document. The return value is the index of the container database of the document or -1 if the index is out of bounds.
Get the ID number of a document. `index’ specifies the index of a document. The return value is the ID number of the document or -1 if the index is out of bounds.
Get the score of a document. `index’ specifies the index of a document. The return value is the score of the document or -1 if the index is out of bounds.
Get an array of ID numbers of eclipsed docuemnts of a document. `id’ specifies the ID number of a parent document. The return value is an array whose elements expresse the ID numbers and their scores alternately.