lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Zambrano <czamb...@gmail.com>
Subject Re: Facet query pb
Date Wed, 07 Oct 2009 17:33:48 GMT
Clico,

Because you are doing a wildcard query, the token 'AMERICA' will not be 
analyzed at all. This means that 'AMERICA*' will NOT match 'america'.

On 10/07/2009 12:30 PM, Avlesh Singh wrote:
> I have no idea what "pb" mean but this is what you probably want -
> fq=(location_field:(NORTH AMERICA*))
>
> Cheers
> Avlesh
>
> On Wed, Oct 7, 2009 at 10:40 PM, clico<clico@mairie-marseille.fr>  wrote:
>
>    
>> Hello
>> I have a pb trying to retrieve a tree with facet use
>>
>> I 've got a field location_field
>> Each doc in my index has a location_field
>>
>> Location field can be
>> continent/country/city
>>
>>
>> I have 2 queries:
>>
>> http://server/solr//select?fq=(location_field:NORTH*)<http://server/solr//select?fq=%28location_field:NORTH*%29>:
ok, retrieve docs
>>
>> http://server/solr//select?fq=(location_field:NORTH<http://server/solr//select?fq=%28location_field:NORTH>AMERICA*)
: not ok
>>
>>
>> I think with NORTH AMERICA I have a pb with the space caractere
>>
>> Could u help me
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Facet-query-pb-tp25790667p25790667.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>>      
>    

Mime
View raw message