lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Allgaier <>
Subject Problem querying for a value with a "space"
Date Wed, 02 Sep 2009 20:15:42 GMT
Touch gently with the Solr newbie....I've searched trying to find an answer to this problem
with no success.  I'm sure it's something small and easy.  

I'm using Solr 1.3 with Solrj client

<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
<dynamicField name="*_s"  type="string"  indexed="true"  stored="true"/>

I am indexing the "specific_LIST_s" with the value "For Sale".
The document indexes just fine.  A query returns the document with the proper value:
    <str name="specific_LIST_s">For Sale</str>

However, when I try to query on that field....
    +specific_LIST_s:For Sale

....I get no results with any one of those three queries.

If I index the value "ForSale" (no space), then execute the query....

...returns the expected document.

What am I missing?

Thanks in advance, 
Adam  :-)


View raw message