Re: Search Hit frequency and location

2005-06-16 Thread Paul Elschot
On Thursday 16 June 2005 21:03, Sean O'Connor wrote: > Thanks for the clarification. I had assumed that to be the case, but > assumptions have a tendency to come back and bite me in inappropriate > places. By pointing that out, you've probably saved me from beating my > head against the wall in

Re: Search Hit frequency and location

2005-06-16 Thread Erik Hatcher
On Jun 16, 2005, at 3:03 PM, Sean O'Connor wrote: The big stumbling block I have at the moment is understanding whether Terms can be used to find something like a phrase query, proximity query, or boolean query. I think the answer is no, two different concepts. Terms are the heart of sear

Re: Search Hit frequency and location

2005-06-16 Thread Sean O'Connor
Thanks for the clarification. I had assumed that to be the case, but assumptions have a tendency to come back and bite me in inappropriate places. By pointing that out, you've probably saved me from beating my head against the wall in the near future : -). The big stumbling block I have at the

Re: Search Hit frequency and location

2005-06-16 Thread Erik Hatcher
On Jun 16, 2005, at 12:03 PM, Sean O'Connor wrote: Yes, see the Javadoc for IndexReader.termPositions(). I'm probably missing the obvious here, but I assume this refers to the analyzed terms (i.e. individual words, possibly transmogrified by the analyzer). Just to respond to part of your m

Search Hit frequency and location

2005-06-16 Thread Sean O'Connor
Hello, I am trying to find the right approach for finding frequency (and, slightly lower in priority, location) of search hits in a document. I am working through the online documentation and the helpful "Lucene in Action" book. There are several examples and explanations which seem close, but