RE: Selective Output fields in Search Result. Lucene 5.5.0

2016-05-16 Thread Ankit.Murarka
Hi, This works great. I kept looking under Searcher and Hits and Document. Reader never striked my mind. Thanks a ton. Regards, Ankit -Original Message- From: Ian Lea [mailto:ian@gmail.com] Sent: 16 May 2016 18:58 To: java-user@lucene.apache.org Subject: Re: Selective Output fiel

Re: Query Grammar

2016-05-16 Thread Ahmet Arslan
Hi Taher, Please find and see QueryParser.jj file in the source tree. You can find all operators such as && || AND OR !. Ahmet On Sunday, May 15, 2016 1:57 PM, Taher Galal wrote: Hi All, I was just checking the query grammer found in the java docs of the query parser : Query ::= ( Clause )

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

Re: Synonym Query Expansion / Gaps / UnsupportedOperationException wrt SpanNearQuery

2016-05-16 Thread Daniel Bigham
Thanks. I've submitted a bug: https://issues.apache.org/jira/browse/LUCENE-7284 Is there any sense of how long it takes for bugs to get fixed? - On May 14, 2016, at 3:53 AM, Alan Woodward wrote: > This looks like a bug - can you open a JIRA ticket? > Alan Woodward > www.flax.co.uk >

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