Setting multivalued="false" is probably a red herring.

This form probably works because you're searching on
two different fields, namely keywords and <default search field>.
APpendint &debugQUery=on to your query will show this.

q=keywords:symante* AND corporatio*

This form probably fails because of stemming
q=keywords:(symante* AND corporatio*)
at a guess. Wildcards aren't analyzed.
"corporation" is probably being stemmed to something
like "corpor", which does not macth
corporatio*

The admin/analysis page helps a lot in cases like this

Best
Erick



On Thu, Sep 1, 2011 at 3:00 PM, Aaron Bains <aaronba...@gmail.com> wrote:
> I solved the problem by setting multiValued=false
>
> On Thu, Sep 1, 2011 at 2:37 PM, Aaron  wrote:
>
>> It seems to work correctly once I remove the brackets like this:
>> q=keywords:symante* AND corporatio*
>> But I don't understand why...
>>
>>
>> On Thu, Sep 1, 2011 at 2:26 PM, Aaron wrote:
>>
>>> Hello,
>>>
>>> The keywords field type is "text_en_splitting"
>>>
>>> My query is as follows:    q=keywords:(symantec AND corporation)
>>> Result: Documents are returned as normal
>>>
>>>
>>> My wildcard query is as follows:      q=keywords:(symante* AND
>>> corporation)
>>> Result: Wildcard functions correctly, and documents are returned
>>>
>>>
>>> When I try a wildcard on every term as follows:      q=keywords:(symante*
>>> AND corporatio*)
>>> Result: No documents are returned.
>>>
>>>
>

Reply via email to