lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From root23 <s.manuj...@gmail.com>
Subject Query a particular index from a multivalued field.
Date Thu, 07 Jun 2018 15:36:40 GMT
Hi all,
is there a way i can query a particular index of a multivalued field.
e.g lets say i have a document like this
 doc 1= {
        "id": "1",
        "status": [
          "b",
          "a"
        ]
 }

doc2= {
        "id": "1",
        "status": [
          "c",
          "b"
        ]
 }

can i query like give me the document which has status = b at index 0. which
should only return doc 1.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message