Re: easiest way to search parts of words
Also, depending on your use cases, whether stemming would do what you want. On Mon, May 16, 2016 at 2:27 PM, Ahmet Arslanwrote: > Hi Gates, > > There are two approaches: > > 1) Use a wildcard query with star operator q=consult* > > 2) Create an index with EdgeNGramFilterFactory and issue a regular search > q=consult > > (2) will be faster at the cost of bigger index size > You don't need to change anything for (1) if the execution time is > satisfactory. > > Ahmet > > > > On Tuesday, May 17, 2016 12:11 AM, M Gates wrote: > > Hi > > Wondering if someone can guide me to how I can search words by part. > > ie: how to return the word ‘consultation' by say entering a query with just > the word ‘consult’. > > How does one do this in Solr ? > > Thanks, > Mark
Re: easiest way to search parts of words
Hi Gates, There are two approaches: 1) Use a wildcard query with star operator q=consult* 2) Create an index with EdgeNGramFilterFactory and issue a regular search q=consult (2) will be faster at the cost of bigger index size You don't need to change anything for (1) if the execution time is satisfactory. Ahmet On Tuesday, May 17, 2016 12:11 AM, M Gateswrote: Hi Wondering if someone can guide me to how I can search words by part. ie: how to return the word ‘consultation' by say entering a query with just the word ‘consult’. How does one do this in Solr ? Thanks, Mark
easiest way to search parts of words
Hi Wondering if someone can guide me to how I can search words by part. ie: how to return the word ‘consultation' by say entering a query with just the word ‘consult’. How does one do this in Solr ? Thanks, Mark