lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clico <cl...@mairie-marseille.fr>
Subject Re: Facet query pb
Date Sun, 11 Oct 2009 21:32:45 GMT



clico wrote:
> 
> 
> clico wrote:
>> 
>> 
>> 
>> clico wrote:
>>> 
>>> That's not a pb
>>> I want to use that in order to drill down a tree
>>> 
>>> 
>>> Christian Zambrano wrote:
>>>> 
>>>> 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.
>>>>>>
>>>>>>
>>>>>>      
>>>>>    
>>>> 
>>>> 
>>> 
>>> 
>> 
>> I'm sorry, this syntax does not work anymore
>> 
> 
> 
> When I try a debug mode here is the result
> 
> <arr name="parsed_filter_queries">
> <str>+location_field:NORTH+location_field:AMERICA*</str>
> </arr>
> 
> My location_field is a type String, containing 
> NORTH AMERICA/NY/NYC
> 
> I can use
> fq=(location_field:NORTH*AMERICA*) replacing all whitespaces by *, but I m
> not sure that's a good solution
> 
> Thanks for helping me
> 
> 
> 
> 
one can help me?

-- 
View this message in context: http://www.nabble.com/Facet-query-pb-tp25790667p25847849.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message