RE: Selective Output fields in Search Result. Lucene 5.5.0

2016-05-16 Thread Ankit.Murarka
fields in Search Result. Lucene 5.5.0 Would http://lucene.apache.org/core/5_5_0/core/org/apache/lucene/index/IndexReader.html#document(int,%20java.util.Set) be what you are looking for? -- Ian. On Mon, May 16, 2016 at 1:39 PM, wrote: > Hello, > > I am storing close to 100 fields in

Re: Selective Output fields in Search Result. Lucene 5.5.0

2016-05-16 Thread Ian Lea
Would http://lucene.apache.org/core/5_5_0/core/org/apache/lucene/index/IndexReader.html#document(int,%20java.util.Set) be what you are looking for? -- Ian. On Mon, May 16, 2016 at 1:39 PM, wrote: > Hello, > > I am storing close to 100 fields in a single document which is being > indexed. Ther

Selective Output fields in Search Result. Lucene 5.5.0

2016-05-16 Thread Ankit.Murarka
Hello, I am storing close to 100 fields in a single document which is being indexed. There are million such documents. Lucene version is 5.5.0 During search, I wish to get only 1 field out of these 100 fields as a result. The conventional approach is to get the required hits and get the selecte