Can't say why this is happening, you haven't included
your fieldType definition which would help.
You might want to review:

http://wiki.apache.org/solr/UsingMailingLists

Best
Erick

On Tue, Apr 10, 2012 at 3:41 AM, Alexander Ramos Jardim
<alexander.ramos.jar...@gmail.com> wrote:
> Ok. But I am not querying for fifa 12. I am querying fifa12. There's no
> white spaces :(
>
> 2012/4/9 Chris Hostetter <hossman_luc...@fucit.org>
>
>>
>> : > itemNameSearch:fifa defaultSearchField:12
>>
>> : That's exactly what's happening! Why does this happen?
>>
>> whyspace is meaningful to the query parser: it tells the query parser
>> there are multiple clauses for a boolean query.
>>
>> if you want to search for any works the user typed in the field
>> "itemNameSearch" then you can either set the default search field to
>> itemNameSearch...
>>        df=itemNameSearch & q=fifa 12
>> ...or put parens arround the words you want to search for in a specific
>> field...
>>        q=itemNameSearch:(fifa 12)
>>
>> -Hoss
>>
>
>
>
> --
> Alexander Ramos Jardim

Reply via email to