Re: Hits document offset information

2008-09-04 Thread Chris Hostetter
: Now, I would like to to access to the best fragments offsetsfrom each : document (hits.doc(i)). I seem to recall that the recomended method for doing this is to subclass your favorite Formatter and record the information from each TokenGroup before delegating to the super class. but there

Hits document offset information

2008-09-02 Thread Nabil BOUZERNA
Hi All, I have following problem. All threads similar to my problem are former so I try a new post. When I execute a search (Lucene Core 2.3.2) I receive the list of document Hits. Then, I call current highlighter (2.3.2) to get the best fragments : getBestFragments(tokenStream, texte,1,".

Hits document offset information

2008-09-02 Thread Nabil BOUZERNA
Hi All, I have following problem. All threads similar to my problem are former so I try a new post. When I execute a search (Lucene Core 2.3.2) I receive the list of document Hits. Then, I call current highlighter (2.3.2) to get the best fragments : getBestFragments(tokenStream, texte,1,".

Re: Hits document offset information? Span query or Surround? - thanks

2005-09-06 Thread Sean O'Connor
Thanks for the input. I am looking at the suggested links now. If I make any progress I will return to see if any of my work would be appropriate to contribute back. Sean Paul Elschot wrote: On Tuesday 06 September 2005 08:52, markharw00d wrote: >>I believe I have heard that Span queries

Re: Hits document offset information? Span query or Surround?

2005-09-06 Thread Paul Elschot
On Tuesday 06 September 2005 08:52, markharw00d wrote: > >>I believe I have heard that Span queries provide some way to access > document offset information for their hits somehow. > > See http://marc.theaimsgroup.com/?l=lucene-user&m=112496111224218&w=2 > > Faithfully selecting extracts based

Re: Hits document offset information? Span query or Surround?

2005-09-06 Thread Paul Elschot
On Tuesday 06 September 2005 08:21, Sean O'Connor wrote: > I believe I have heard that Span queries provide some way to access > document offset information for their hits somehow. Does anyone know if > this is true, and if so, how I would go about it? > > Alternatively (preferably actually) doe

Re: Hits document offset information? Span query or Surround?

2005-09-05 Thread markharw00d
>>I believe I have heard that Span queries provide some way to access document offset information for their hits somehow. See http://marc.theaimsgroup.com/?l=lucene-user&m=112496111224218&w=2 Faithfully selecting extracts based *exactly* on query criteria will be hard given complex queries eg

Hits document offset information? Span query or Surround?

2005-09-05 Thread Sean O'Connor
I believe I have heard that Span queries provide some way to access document offset information for their hits somehow. Does anyone know if this is true, and if so, how I would go about it? Alternatively (preferably actually) does the surround code from the SVN development area have a way of r