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.
I 'm trying to add a filter to list, for example, all documents only related to Germany but I don't know how to specify it in my fq parameter. I tried these syntaxes without success (I'm using disMaxQuery): fq=countries:germany => 0 results fq=countries:%germany% => 0 results fq=countries:*germany* => error '*' or '?' not allowed as first character in WildcardQuery fq=countries:germany* => 0 results but it seems that it lists only the fields beginning with germany What is the correct syntax ? Thanks for your help, Regards, Fred -- View this message in context: http://old.nabble.com/Filtering-a-string-containing-a-certain-value-with-fq---tp27590860p27590860.html Sent from the Solr - User mailing list archive at Nabble.com.