Sounds like a straight-up case on putting NgramFitlerFactory in the
index (but not query) part of the type definition chain:
http://www.solr-start.com/info/analyzers/#NGramFilterFactory

Make sure to play with the Analysis screen of the AdminUI, it will
show you what happens on indexing and search.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 1 December 2014 at 11:20, melb <melaggo...@gmail.com> wrote:
> Hi,
>
> I am new in Solr,
> I have a solr collection with domain names and I want to be able to search
> in domains
> the search can give me the domains which begin with the query term or
> contain it
>
> example:
> query : dom
>
> results:
> domain1
> domain2
> predommain
> domainsuffix
>
>
> rgds,
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Start-With-and-contain-search-tp4171854.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to