lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm" <malcycl...@btinternet.com>
Subject Re: repeating fields
Date Wed, 07 Dec 2005 13:26:26 GMT

Firstly you should obtain LUKE and check everything is layed out correctly 
in your index.
Secondly maybe a Wildcard/prefix query or termquery.for example(termquery):

TermQuery heTerm = new TermQuery(
           new Term("p",
               "x"));
   TermQuery sheTerm = new TermQuery(
           new Term("p",
               "xx"));
   TermQuery theyTerm = new TermQuery(
           new Term("p",
               "xxx"));

I'm sure the folks on here will be able to come up with a more efficient 
method.Try obtaining Lucene in Action or look at the examples at 
http://lucenebook.com/
cheers,
Malcolm Clark 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message