Using ShingleFilterFactory at index time may help.
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory --- On Wed, 10/5/11, Mikhail Khludnev <mkhlud...@griddynamics.com> wrote: > From: Mikhail Khludnev <mkhlud...@griddynamics.com> > Subject: Re: How do i get results for quering with separated words? > To: solr-user@lucene.apache.org > Date: Wednesday, October 5, 2011, 10:57 PM > Have you tried to correct spaces by > spelling dictionary? > if you build you dictionary from non tokenized terms, > you'll have starwars > -> Star Wars and super rtl->superrtl corrections. > > WDYT? > > On Wed, Oct 5, 2011 at 7:13 PM, elisabeth benoit > <elisaelisael...@gmail.com>wrote: > > > I think you could define star wars and starwars as > synonyms in > > synonyms.txt... > > > > maybe not generic enough? > > > > 2011/10/5 Mike Mander <wicket-m...@gmx.de> > > > > > Isn't this more a problem of the query string? > > > > > > Let's assume i have a game name like "Nintentdo > 3DS - 'Star Wars - Clone > > > Wars'". > > > Can i copy that name to a field cutting the - and > ', lowercase the result > > > string > > > and remove the whitespaces? So that i have > > "nintendo3dsstarwarsclonewars"* > > > *. > > > Is that "findable" with my "starwars" query > string? > > > > > > Thanks for helping me > > > Mike > > > > > > > > > index this field without whitespaces ? XD > > >> > > >> ----- > > >> ------------------------------**- System > > ------------------------------** > > >> ---------- > > >> > > >> One Server, 12 GB RAM, 2 Solr Instances, 8 > Cores, > > >> 1 Core with 45 Million Documents other > Cores< 200.000 > > >> > > >> - Solr1 for Search-Requests - commit every > Minute - 5GB Xmx > > >> - Solr2 for Update-Request - delta > every Minute - 4GB Xmx > > >> -- > > >> View this message in context: http://lucene.472066.n3.** > > >> > nabble.com/How-do-i-get-**results-for-quering-with-**separated-words-** > > >> tp3395966p3396207.html< > > http://lucene.472066.n3.nabble.com/How-do-i-get-results-for-quering-with-separated-words-tp3395966p3396207.html > > > > > >> Sent from the Solr - User mailing list > archive at Nabble.com. > > >> > > >> > > > > > > > > > -- > Sincerely yours > Mikhail (Mike) Khludnev > Developer > Grid Dynamics > tel. 1-415-738-8644 > Skype: mkhludnev > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> >