RE: Term offsets for highlighting

2010-04-27 Thread Stephen Greene
: Monday, April 26, 2010 10:55 AM To: java-user@lucene.apache.org Subject: Re: Term offsets for highlighting Stephen Greene wrote: > Hi Koji, > > Thank you. I implemented a solution based on the FieldTermStackTest.java > and if I do a search like "iron ore" it matches iron or o

RE: Term offsets for highlighting

2010-04-26 Thread Stephen Greene
Hi Koji, Thank you. I implemented a solution based on the FieldTermStackTest.java and if I do a search like "iron ore" it matches iron or ore. The same is true if I specify iron AND ore. The termSetMap[0].value[0] = ore and termSetMap[0].value[1] = iron. What am I missing in having a prhase matc

RE: Term offsets for highlighting

2010-04-22 Thread Stephen Greene
ay, April 19, 2010 9:02 PM To: java-user@lucene.apache.org Subject: Re: Term offsets for highlighting Stephen Greene wrote: > Hi Koji, > > An additional question. Is it possible to access the FieldTermStack from > the FastVectorHighlighter after the it has been populated with matching

RE: Term offsets for highlighting

2010-04-19 Thread Stephen Greene
highlighting Stephen Greene wrote: > Hi Koji, > > Thank you for your reply. I did try the QueryScorer without success, but > I was using Lucene 2.4.x > Hi Steve, I thought you were using 2.9 or later because you mentioned FastVectorHighlighter in your previous mail (FVH was first in

RE: Term offsets for highlighting

2010-04-19 Thread Stephen Greene
Subject: Re: Term offsets for highlighting Stephen Greene wrote: > Hi Koji, > > Thank you for your reply. I did try the QueryScorer without success, but > I was using Lucene 2.4.x > Hi Steve, I thought you were using 2.9 or later because you mentioned FastVectorHighlighter in you

RE: Term offsets for highlighting

2010-04-18 Thread Stephen Greene
...@r.email.ne.jp] Sent: Friday, April 16, 2010 9:49 PM To: java-user@lucene.apache.org Subject: Re: Term offsets for highlighting Stephen Greene wrote: > Hello, > > > > I am trying to determine begin and end offsets for terms and phrases > matching a query. > > Is there a way usin

Term offsets for highlighting

2010-04-16 Thread Stephen Greene
Hello, I am trying to determine begin and end offsets for terms and phrases matching a query. Is there a way using either the highlighter or fast vector highlighter in contrib? I have already attempted extending the highlighter which would match terms but would not match phrases. The rea

RE: large document with multiple fields performance

2009-09-13 Thread Stephen Greene
The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Tue, Sep 8, 2009 at 6:57 PM, Stephen Greene wrote: > Hi Anshum, > > Thank you for your reply. I have two options I am considering. > One would be: > Document {

RE: large document with multiple fields performance

2009-09-08 Thread Stephen Greene
ybody, the opinions to me. The distinction is yours to draw On Tue, Sep 8, 2009 at 5:27 PM, Stephen Greene wrote: > Hello, > > > > I am new to lucene and building an application which requires documents > with many fields to be searched. > > A "project&quo

large document with multiple fields performance

2009-09-08 Thread Stephen Greene
Hello, I am new to lucene and building an application which requires documents with many fields to be searched. A "project" id is being stored (not_analyzed) and all matching project ids will be returned to be used to join other data from a database. Will it provide better performance to stor