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