-
Notifications
You must be signed in to change notification settings - Fork 65
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
Lazy field retrieval #24
Comments
Out of curiosity, in raw Lucene, is there a performance benefit to not reading fields in a Document even though it's already been loaded from the index? |
This would be a performance optimization that may only benefit certain use cases where a given field is very large or uses compression and won't be used. See [IndexReader.Document](https://lucene.apache.org/core/old_versioned_docs/versions/3_0_1/api/all/org/apache/lucene/index/IndexReader.html#document%28int, org.apache.lucene.document.FieldSelector%29). |
Supposing a document like:
And a query like:
Lucene.Net.Linq should not retrieve large, possibly compressed fields like Text since the client is not using that field.
The text was updated successfully, but these errors were encountered: