Lucene (3.0) print payload information

2015-04-07 Thread Muhammad Ismail
Hi I have created a sample index with 2 fields i.e. [title & body] I have saved payload information (float value) with title field. Now I am trying to print payload value for each term in title field. Getting termpositions from reader does not work. reader.termpoistion().isPayloadAvailable() is n

Lucene Field Boost

2015-04-29 Thread Muhammad Ismail
Hi I have simple index with 2 fields i.e. title and body. When i perform a simple search query like bring document which have particular text like lazy or dog or brown in either title or body but I want matches in title get boost over body reault. Also document which have all matches must be on to

Re: Lucene Field Boost

2015-04-30 Thread Muhammad Ismail
Any one ? On Thu, Apr 30, 2015 at 12:01 AM, Muhammad Ismail wrote: > Hi > > I have simple index with 2 fields i.e. title and body. When i perform a > simple search query like bring document which have particular text like > lazy or dog or brown in either title or body but I

Re: Lucene Field Boost

2015-04-30 Thread Muhammad Ismail
ne, perhaps: > > http://lucene.apache.org/core/4_10_4/core/org/apache/lucene/document/Field.html#setBoost(float) > > -Original Message- > From: Muhammad Ismail [mailto:it.is.ism...@gmail.com] > Sent: Thursday, April 30, 2015 3:22 AM > To: java-user@lucene.apache.org &

Lucene [3.0] Skip Matching Document.

2015-07-28 Thread Muhammad Ismail
; other has rating 12 then i want only 1 record i.e. book with rating 12 I am using Lucene 3.0 -- Thanks Muhammad Ismail

Re: Lucene [3.0] Skip Matching Document.

2015-07-29 Thread Muhammad Ismail
n > > On Tue, Jul 28, 2015 at 4:26 AM, Muhammad Ismail > wrote: > > > Can we skip matching lucene document by using custom collector or some > > other way. Like I want to bring all document created by user xxx on > > specific date but after we got a match, we want to run