Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing getDocumentById() method #6

Open
jwei512 opened this issue Apr 7, 2011 · 1 comment
Open

missing getDocumentById() method #6

jwei512 opened this issue Apr 7, 2011 · 1 comment

Comments

@jwei512
Copy link

jwei512 commented Apr 7, 2011

Documentation states that once a search is successfully returned, a list of "docids" are given corresponding to the unique document ids in the database, and that with these "docids" we can retrieve the individual document details.

However there is no such getDocumentById() method (though there is in fact a deleteDocument(String id) method) and right now the only way to retrieve document details is by appending the fetchFields() method into the query.

@clamprecht
Copy link
Contributor

jwei512 I think what the docs mean is, you can take the list of document ids returned from IndexTank, and then retrieve the original document details from your own database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants