Hi all, This may seem to be an easy one but I have been struggling to get it working. To simplify things, let's say I have a field that can contain any combination of the 26 alphabetic letters, space delimited:
<doc> <myfield>a b</myfield> </doc> <doc> <myfield>b c</myfield> </doc> <doc> <myfield>x y z</myfield> </doc> The search term is a list of user specified letters, for exampe: a b y z I would like only the following docs to be returned: 1. Any doc that contains exactly the 4 letters a b y z (sequence not important) 2. Any docs that contains only a subset of the 4 letters a b y z (sequence not important) Note if a doc contains any letters other than the 4 letters a b y z will not qualify. So in this case, only the first doc should be returned. Can some one shed some light here and let me know how to get this working, specifically: 1. What should the field type be (text, text_ws, string...)? 2. How does the query look like? Thanks in advance! -- View this message in context: http://lucene.472066.n3.nabble.com/A-simple-query-tp3395465p3395465.html Sent from the Solr - User mailing list archive at Nabble.com.