hi

This question is highly related to a previous one found on the
mailing-list archive [1].

I have this document:

"content_txt":["001 first","002 second"]
I d'like the below query return nothing:
> q=content_txt:(first AND second)

The method proposed ([1]) by Erick works ok to look for a single value
having BOTH first AND second by setting the field positionIncrementGap
high enough:

This query returns nothing as expected:
> q=content_txt:("first second"~99)


However, this is based on *phrase search*. Phrase search does not allow
to use the below simple query parser features. That's a _HUGE_ limitation!
- regexp
- fuzzy
- whildcard
- ranges

So the query below does won't match the first field:
> q=content_txt:("[000 TO 001] first"~99)
While this one does match the second and shouldn't!
> q=content_txt:([000 TO 001] AND "second")

QUESTION:
---------
Is there a chance such feature will be developed in future SolR version ? I 
mean something
allowing considering multivalued fields independently ? A new field
attribute such independentMultivalued=true would be ok ?

Thanks,


[1]: 
http://lucene.472066.n3.nabble.com/Search-only-for-single-value-of-Solr-multivalue-field-td4309850.html#a4309893

-- 
nicolas

Reply via email to