Can I restrict the fields that Lucene.net (v2) returns when running a search? I am looking for the most efficient way to return a json-formatted response to the client where I only want a subset of the stored fields included in the response. Thanks very much.
Share
In the Java version you can specify an optional
FieldSelectorwhen callingIndexReader.document(...).See the JavaDoc.