Hi Mark,
Thanks!  That clears things up quite a bit.  Are there plans to incorporate
a solr 'wildcard index' to contain infix terms, or alternately contain a
backwards index to get around this term?  I'll plan on using the workaround
in the meantime.

-Harish


markrmiller wrote:
> 
> smock wrote:
>> Hi,
>>
>> I'm curious about the performance issues around leading wildcard search -
>> is
>> there any way to get around it?  Could someone explain to me the nature
>> of
>> the issue?
>>
>> Thanks!
>> Harish
>>   
> A lucene/solr index is much like the index in the back of a book. 
> Imagine I ask you to look up luce* in the index of a book - you would 
> first jump to l, then lu, etc until you found the entries for terms that 
> started with luce. Now imagine I ask you to look up terms *ene. You 
> can't skip to any section now. The matching terms could start with any 
> letter, and any letter can come next and so on. You have to scan the 
> whole index right?
> 
> Work arounds? Imagine making a second index (or adding another field) 
> with all of the terms spelled backwards.
> 
> - Mark
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Leading-Wildcard-Search-tp21799369p21799691.html
Sent from the Solr - Dev mailing list archive at Nabble.com.

Reply via email to