lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: Problem querying for a value with a "space"
Date Thu, 03 Sep 2009 07:31:22 GMT
On Thu, Sep 3, 2009 at 1:45 AM, Adam Allgaier <allgaier2@yahoo.com> wrote:

>
> <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
>    +specific_LIST_s:For+Sale
>    +specific_LIST_s:For%20Sale
>
> ....I get no results with any one of those three queries.
>
>
Use +specific_LIST_s:(For Sale)
or
+specific_LIST_s:"For Sale"

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message