Re: How to filter fields with hits from result set

2007-05-26 Thread Andreas Guther
-Original Message- From: 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

RE: How to filter fields with hits from result set

2007-05-24 Thread Andreas Guther
is the 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
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

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 each

Re: How to filter fields with hits from result set

2007-05-23 Thread 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. Then I could get