Re: Querying Lucene property for exact value

2011-05-06 Thread Erick Erickson
   boolQuery.addShould(t); > } > return boolQuery.toQuery(); > > Any help would be greatly appreciated. > > Thanks, > > Chelsea > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Querying-Lucene-property-for-exact-value-tp2904431p2904431.

Querying Lucene property for exact value

2011-05-05 Thread ces3w
boolQuery = queryBuilder.bool(); for (String value : values) { CompassQuery t = queryBuilder.term(field, value); boolQuery.addShould(t); } return boolQuery.toQuery(); Any help would be greatly appreciated. Thanks, Chelsea -- View this message in context: http://lucene.4