When I do this query:

    q=catcode:CC001

I get a bunch of results. One of them looks like this:

    <doc>
        <str name="catcode">CC001</str>
        <str name="start_url_title">Cooper, John</str>
    </doc>

If I then do this query:

    q=start_url_title:cooper

I also match the record above, as expected.

But, if I do this:

    q=(catcode:CC001 AND start_url_title:cooper)

I get no results.

And, if I do this:

    q=(catcode:CC001 OR start_url_title:cooper)

I also get no results.

schema.xml has this declaration of catcode:

    <field name="catcode" type="text_ws" indexed="true" stored="true"/>

And, this for start_url_title:

    <field name="start_url_title" type="text" stored="true" indexed="true"/>

What am I missing?

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/very-simple-boolean-query-not-working-tp4083895.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to