Problem during evaluation of indexed documents

2005-05-21 Thread Falko Guderian
Dir members, I indexed 20 text documents and want to get information which keywords are in which documents. I done it with similar code as followed: Terms terms = indexReader.terms(new Term("content", "")); TermDocs termDocs = indexReader.termDocs(); while ("content".equals(terms.term().field()

Re: Question regarding boosting

2005-05-21 Thread Paul Elschot
On Saturday 21 May 2005 02:28, Maik Schreiber wrote: > > +entity:product +(name:"audio cable"^2.0 content:"audio cable") > > Looks good to me. This query would only return products where either name or > content matches "audio cable" (or both), and name matches get a higher score. > > > Also I s

Re: A special PhraseQuery

2005-05-21 Thread Dave Kor
Quoting Chris Hostetter <[EMAIL PROTECTED]>: > : I'm in need of a special version of the phrase query. For example, given a > : search phrase "alpha beta gamma", I'ld like a to score documents something > like > : the following manner. > > it sounds like what you want isn't really a special type o