: 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
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