lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Search within words
Date Fri, 20 Jan 2012 15:17:54 GMT
Hello,

You can accomplish this by using n-grams or edge n-grams, which you'll use as field types
for fields where you want such matching to occur and that you will specify in schema.xml.
 I hope this helps.

Otis 
----
Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html



----- Original Message -----
> From: jawedshamshedi <jawedshamshedi@gmail.com>
> To: solr-user@lucene.apache.org
> Cc: 
> Sent: Friday, January 20, 2012 6:57 AM
> Subject: Search within words
> 
> Hi all,
> 
> I want to search a string in the same way as mysql like does i.e. 
> if the word is say Sunrise then if i search rise then again sun rise should
> come and if I choose sun then again sunrise should come and if I use sunrise
> then again sunrise should come in search.
> 
> the search should no be case sensitive.
> 
> Will need a descriptive answer to do this as I am new to solr
> 
> Thanks
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Search-within-words-tp3675210p3675210.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Mime
View raw message