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

Reply via email to