lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnmu...@aol.com
Subject RE: Is leading wildcard search turned on by default in Solr 3.6.1?
Date Tue, 13 Nov 2012 00:57:30 GMT

At one point, in some version of Solr, it was OFF by default, and you had to enable it via
a setting (either in solrconfig.xml or schema.xml, I don't remember).  It looks like this
is no longer the case.  Even worse, and if this is true, disabling it no longer seems to be
possible to disable it via a Solr setting!!


-- MJ


-----Original Message-----
From: François Schiettecatte [mailto:fschiettecatte@gmail.com] 
Sent: Monday, November 12, 2012 7:48 PM
To: solr-user@lucene.apache.org
Subject: Re: Is leading wildcard search turned on by default in Solr 3.6.1?


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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message