And the SpellingComponent. There's nothing to help you with phrases.
On Tue, Nov 2, 2010 at 11:21 AM, Erick Erickson <erickerick...@gmail.com> wrote: > Also, you might want to consider TermsComponent, see: > > http://wiki.apache.org/solr/TermsComponent > > Also, note that there's an autosuggestcomponent, that's recently been > committed. > > Best > Erick > > On Tue, Nov 2, 2010 at 1:56 PM, PeterKerk <vettepa...@hotmail.com> wrote: > >> >> I have a city field. Now when a user starts typing in a city textbox I want >> to return found matches (like Google). >> >> So for example, user types "new", and I will return "new york", "new >> hampshire" etc. >> >> my schema.xml >> >> <field name="city" type="string" indexed="true" stored="true"/> >> >> my current url: >> >> >> http://localhost:8983/solr/db/select/?indent=on&facet=true&q=*:*&start=0&rows=25&fl=id&facet.field=city&fq=city:new >> >> >> Basically 2 questions here: >> 1. is the url Im using the best practice when implementing autocomplete? >> What I wanted to do, is use the facets for found matches. >> 2. How can I match PART of the cityname just like the SQL LIKE command, >> cityname LIKE '%<userinput>' >> >> >> Thanks! >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Solr-like-for-autocomplete-field-tp1829480p1829480.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > -- Lance Norskog goks...@gmail.com