Hi Erik,

Thanks for the quick reply.
I want to enable leading wildcard query searches in general. The case
mentioned in the earlier mail is just one of the many instances I use
this feature.

-Kumar




-----Original Message-----
From: Erik Hatcher [mailto:e...@ehatchersolutions.com] 
Sent: Thursday, January 15, 2009 7:59 PM
To: solr-user@lucene.apache.org
Subject: Re: Customizing Solr to handle Leading Wildcard queries


On Jan 15, 2009, at 8:23 AM, Jana, Kumar Raja wrote:
> Not being able to perform Leading Wildcard queries is a major  
> handicap.
> I want to be able to perform searches like *.pdf to fetch all pdf
> documents from Solr.

For this particular case, I recommend indexing the document type as a  
separate field.  Something like type:pdf (or use a MIME type string).   
Then you can do a very direct and fast query to search or facet by  
document types.

        Erik

Reply via email to