Infact, Lucene does not support that.

Lucene supports single and multiple character wildcard searches within
> single terms (*not within phrase queries*).
>

Taken from
http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Wildcard%20Searches

Cheers
Avlesh

On Thu, Jun 11, 2009 at 4:32 PM, Aleksander M. Stensby <
aleksander.sten...@integrasco.no> wrote:

> Solr does not support wildcards in phrase queries, yet.
>
> Cheers,
>  Aleks
>
>
> On Thu, 11 Jun 2009 11:48:13 +0200, Samnang Chhun <samnang.ch...@gmail.com>
> wrote:
>
>  Hi all,
>> I have my document like this:
>>
>> <doc>
>>
>> <name>Solr web service</name>
>>
>> </doc>
>>
>> Is there any ways that I can search like startswith:
>>
>> "So* We*" : found
>> "Sol*": found
>> "We*": not found
>>
>> Cheers,
>> Samnang
>>
>
>
>
> --
> Aleksander M. Stensby
> Lead software developer and system architect
> Integrasco A/S
> www.integrasco.no
> http://twitter.com/Integrasco
>
> Please consider the environment before printing all or any of this e-mail
>

Reply via email to