Fredouille91 wrote:
Hello,
I have a field (named "countries") containing a list of values separated
with comma to wich belongs each document.
This field looks like this : france,germany,italy
It means that tjhis document is related to France, Germany and Italy.
If you can have country field as multiValued="true" and index the
list of countries:
<country>france</country>
<country>germany</country>
<country>italy</country>
rather than <countries>france,germany,italy</countries>, you can
just filter by fq=country:germany.
Or you can index <countries>france germany italy</countries>
and use WhitespaceTokenizer for the countries field, then you
can just filter by fq=countries:germany.
Koji
--
http://www.rondhuit.com/en/