Re: Performance and FS block size

2006-02-11 Thread peter royal
On Feb 10, 2006, at 4:55 PM, Otis Gospodnetic wrote: I'm wondering if anyone has tested Lucene indexing/search performance with different file system block sizes? I just realized one of the servers where I run a lot of Lucene indexing and searching has an FS with blocks of only 1K in size

Re: Lucene PhraseQuery Problem No Hits

2006-02-11 Thread Chris Hostetter
: PhraseQuery pq_query = new PhraseQuery(); : pq_query.add( new Term( "body", "\"circus parade\"" ) ); : .add( pq_query, true, false); the terms you add to a phrase query need to be exactly equal to the individual terms that your analyzer would have generated when indexingthe documents you now wa

Lucene PhraseQuery Problem No Hits

2006-02-11 Thread Joe Amstadt
Problem. I can add one or multiple TermQuery's to the BooleanQuery for searching and I am getting Hits when i preform the search on various indexes. If i add a PhraseQuery to the BooleanQuery on a search i get zero hits. Some Background Information: Indexing using standard anaylzer. I

Re: Help with indexing and query strategy

2006-02-11 Thread rrshwrk
Hi all I have a small problem and unable to figure out how to do to it. I am unable to figure out how do i compute similarity ( similar to the score given by lucene) for a particular doucment indexed by lucene and a given query string. i know that there is a function called search which comptues