Hi

How can I filter records using filter query on multiValued field.  Here are
two records

      {
        "sub_count":8,
        "long_name":"Mike",
        "first_name":"John",
        "id":45949,
        "sym":"TEST",
        "type":"T",
        "last_name":"Account",
        "person_id":"3613",
        "short_name":"Molly",
        "initials":["ABC XYZ"],
        "timestamp":"2013-02-28T02:44:02.235Z"
    }

      {
        "sub_count":8,
        "long_name":"Mike",
        "first_name":"John",
        "id":45949,
        "sym":"TEST",
        "type":"T",
        "last_name":"Account",
        "person_id":"3613",
        "short_name":"Molly",
        "initials":["MKN JRT"],
        "timestamp":"2013-02-28T02:44:02.235Z"
    }

<field name="initials"  type="string" indexed="true" stored="true"
multiValued="true" /> 

<field column="initials"       name ="initials"  splitBy=" "     />


Note. All values are same except initials field value.
My search criteria
q:sym:TEST
fq:initials[MKN]

This doesn't return the second record.  What am I missing here?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/MultiValued-Search-using-Filter-Query-tp4043544.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to