lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François Schiettecatte <fschietteca...@gmail.com>
Subject Re: Is leading wildcard search turned on by default in Solr 3.6.1?
Date Tue, 13 Nov 2012 00:48:16 GMT
I suspect it is just part of the wildcard handling, maybe someone can chime in here, you may
need to catch this before it gets to SOLR.

François

On Nov 12, 2012, at 5:44 PM, johnmunir@aol.com wrote:

> Thanks for the quick response.
> 
> 
> So, I do not want to use ReversedWildcardFilterFactory, but leading wildcard is working
and thus is ON by default.  How do I disable it to prevent the use of it and the issues that
come with it?
> 
> 
> -- MJ
> 
> 
> 
> -----Original Message-----
> From: François Schiettecat
> te <fschiettecatte@gmail.com>
> To: solr-user <solr-user@lucene.apache.org>
> Sent: Mon, Nov 12, 2012 5:39 pm
> Subject: Re: Is leading wildcard search turned on by default in Solr 3.6.1?
> 
> 
> John
> 
> You can still use leading wildcards even if you dont have the 
> ReversedWildcardFilterFactory in your analysis but it means you will be scanning 
> the entire dictionary when the search is run which can be a performance issue. 
> If you do use ReversedWildcardFilterFactory you wont have that performance issue 
> but you will increase the overall size of your index. Its a tradeoff. 
> 
> When I looked into it for a site I built I decided that the tradeoff was not 
> worth it (after benchmarking) given how few leading wildcards searches it was 
> getting.
> 
> Best regards
> 
> François
> 
> 
> On Nov 12, 2012, at 5:33 PM, johnmunir@aol.com wrote:
> 
>> 
>> 
>> Hi,
>> 
>> 
>> I'm migrating from Solr 1.2 to 3.6.1.  I used the same analyzer as I was, and 
> re-indexed my data.  I did not add 
>> solr.ReversedWildcardFilterFactory to my index analyzer, but yet leading wild 
> cards are working!!  Does this mean it's turned on by default?  If so, how do I 
> turn it off, and what are the implication of leaving ON?  Won't my searches be 
> slower and consume more memory?
>> 
>> 
>> Thanks,
>> 
>> 
>> --MJ
>> 
> 
> 
> 
> 


Mime
View raw message