Re: How to filter fields with hits from result set

2007-05-26 Thread Andreas Guther
as > > > > -Original Message----- > From: Erick Erickson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 23, 2007 2:05 PM > To: java-user@lucene.apache.org > Subject: Re: How to filter fields with hits from result set > > Two things to watch... > > 1> Th

Re: How to filter fields with hits from result set

2007-05-24 Thread Erick Erickson
rickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 2:05 PM To: java-user@lucene.apache.org Subject: Re: How to filter fields with hits from result set Two things to watch... 1> Think about indexing the special page-end token with an increment gap of 0 (see SynonymAnalyzer in Lucene I

RE: How to filter fields with hits from result set

2007-05-24 Thread Andreas Guther
approach? As usual, many thanks in advance for your input. Andreas -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 2:05 PM To: java-user@lucene.apache.org Subject: Re: How to filter fields with hits from result set Two things to watch

Re: How to filter fields with hits from result set

2007-05-23 Thread Erick Erickson
m: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 12:00 PM To: java-user@lucene.apache.org Subject: Re: How to filter fields with hits from result set As luck would have it, I've done something very similar. What I had to do is index a special token at the end of each page

RE: How to filter fields with hits from result set

2007-05-23 Thread Andreas Guther
] Sent: Wednesday, May 23, 2007 12:00 PM To: java-user@lucene.apache.org Subject: Re: How to filter fields with hits from result set As luck would have it, I've done something very similar. What I had to do is index a special token at the end of each page. Then I could get the term offsets for

Re: How to filter fields with hits from result set

2007-05-23 Thread Erick Erickson
As luck would have it, I've done something very similar. What I had to do is index a special token at the end of each page. Then I could get the term offsets for each page Then I used one of the SpanQuery.getSpans to get all of the offsets of the hits throughout all of the pages. now I have