Re: Autocomplete with Solr 3.1

2011-07-30 Thread O. Klein
According to
http://www.lucidimagination.com/blog/2011/04/08/solr-powered-isfdb-part-9/
it should be possible to set spellcheck.maxCollations to 5.

This doesn't work for me in 4.0, nor does it work with the regular
spellchecker, unless I set spellcheck.maxCollationTries to a value like 10.

Then I get a list of collations.

However adding these parameters to the suggester doesn't do anything.

Is this common behavior? Or is my Solr borked?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-with-Solr-3-1-tp3202214p3211775.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Autocomplete with Solr 3.1

2011-07-28 Thread scorpking
Nobody can help me

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-with-Solr-3-1-tp3202214p3206095.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Autocomplete with Solr 3.1

2011-07-27 Thread scorpking
Hi Klein, 
Thanks for your reply. But i tried some suggestion with solr, and results
return is good. But i want to using search component with solr 3.1. Now i
have had some problems with Suggester. i think my problem perhaps about in
schema file. This is schema file: 



















And i defined fields: 




where: 
fieldType with text_auto:

 


 
 


 

In file solrconfig.xml i defined: 

 
  suggest
  org.apache.solr.spelling.suggest.Suggester
  org.apache.solr.spelling.suggest.tst.TSTLookup
  search_autocomplete
  true
 

  
  

true
suggest
10
true


spellcheck-autocomplete

  

Can any one help???

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-with-Solr-3-1-tp3202214p3204176.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Autocomplete with Solr 3.1

2011-07-27 Thread O. Klein
I know the solution, just not how to actually implement it, but maybe
somebody can help with that :)

>From Wiki:

If you want to use a dictionary file that contains phrases (actually,
strings that can be split into multiple tokens by the default
QueryConverter) then define a different QueryConverter like this:

  
  

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-with-Solr-3-1-tp3202214p3203191.html
Sent from the Solr - User mailing list archive at Nabble.com.


Autocomplete with Solr 3.1

2011-07-26 Thread scorpking
Hi all, 
when i use autocomplete to suggest like google:
http://www.google.com/webhp?complete=1&hl=en and follow this url
http://solr.pl/en/2010/11/15/solr-and-autocomplete-part-2/ to config my
project, but when i tested with more two terms in my query, it's not right,
i don't know why? 
Can anyone tell me ? 
Thanks for help.

 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Autocomplete-with-Solr-3-1-tp3202214p3202214.html
Sent from the Solr - User mailing list archive at Nabble.com.