Re: Running query against a single document

2018-09-21 Thread Tom Mortimer
Hi, Have you considered using MemoryIndex ? cheers, Tom tel +44 8700 118334 : mobile +44 7876 741014 : skype tommortimer On Fri, 21 Sep 2018 at 13:58, Aurélien MAZOYER wrote: > Hi, > > We would lik

Re: Matching a single instance of a multivalued field

2018-06-08 Thread Tom Mortimer
; > Le ven. 8 juin 2018 à 16:46, Tom Mortimer a écrit : > > > Hi! > > > > I have a requirement to be able to restrict search results to a single > > instance of a multivalued field. e.g. with the doc: > > > > text: [ "striped skunk", &q

Matching a single instance of a multivalued field

2018-06-08 Thread Tom Mortimer
Hi! I have a requirement to be able to restrict search results to a single instance of a multivalued field. e.g. with the doc: text: [ "striped skunk", "spotted hyena" ] the queries (skunk AND striped), (spotted AND hyena) should return the document, but (striped AND hyena), (skunk AND spott