clouway / cuse

clouWay universal search engine
1 stars 7 forks source link

Search for matching field containing many values by passing list of values #9

Closed IvanLazov closed 10 years ago

IvanLazov commented 10 years ago

We should be able to execute search queries on fields containing many values by passing a list of values.

For example if we have the following indexed field

tags: 1, 2, answered

after execute the following query we should receive results

searchEngine.search(Index.class).where("tags", SearchFilters.is(Arrays.asList("1", "answered"))).returnAll().now();