Re: Fuzzy Query Param

2011-07-18 Thread steffen_kmt

entdeveloper wrote:
 
 I'm using Solr trunk. 
 

Hi!

I'm using solr 3.1.0 and the feature is not implemented. 
When I search for a word with e.g. ~2 the ~2 is interpreted as part of the
search string. 
Where can I get the trunk version? Is it a stable version or just for
testing purposes?

thanks a lot,

steffen



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Fuzzy-Query-Param-tp3120235p3178565.html
Sent from the Solr - User mailing list archive at Nabble.com.


Dismax RequestHandler adn Fuzzy Search

2011-07-18 Thread steffen_kmt
Hi!
I would like to implement a fuzzy search with the Dismax Request Handler.
I noticed that there are some discussions about that, but all from the year
2009. (adding ~ in solrconfig)

Is it still at the same state or may be already implemented?

Is there another option to do fuzzy search with a dismax requestHandler?

thanks in advance!






--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-RequestHandler-adn-Fuzzy-Search-tp3178747p3178747.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Dismax RequestHandler adn Fuzzy Search

2011-07-18 Thread steffen_kmt
thanks for your answer!

I tried to add the following line to the solrconfig.xml file:
str name=pffieldName~0.8/str

Before adding the line I got 14 results for a request. After adding the line
(and restarting solr) I did the same request and changed just one letter of
the string. I was expecting that I have to get more or less the same
results, but what I get are no results.
What might by the reason?


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-RequestHandler-adn-Fuzzy-Search-tp3178747p3178976.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Dismax RequestHandler adn Fuzzy Search

2011-07-18 Thread steffen_kmt

iorixxx wrote:
 
 What is your purpose of using it in pf parameter?
 
I don't know. I have seen it somewhere and i thought it has to be in the pf
parameter.


iorixxx wrote:
 
 edismax enables fuzzy search but you should use that tilde sing in q
 parameter. 
 
I tried this in qf parameter (fieldname~0.8^2) but have still the same
problem: no results

How is the syntax when I do this in the q parameter?

here is my requesthandler. May be it helps:

requestHandler name=search class=solr.SearchHandler default=true
 lst name=defaults
   str name=echoParamsall/str
   int name=rows10/int
str name=defTypeedismax/str
   str name=q.alt*:*/str
   str name=fl*,score/str
str name=bfpopulation^0.0005/str
str name=sortscore desc, /str
str name=qfcountry^1 country_exact^1.5 city~0.8^2 city_exact^2.5
street^2 street_exact^2.5 poi_name^1.5 housenumber^2 poi_name_exact^2/str
 /lst
/requestHandler


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-RequestHandler-adn-Fuzzy-Search-tp3178747p3179261.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Dismax RequestHandler adn Fuzzy Search

2011-07-18 Thread steffen_kmt

iorixxx wrote:
 
 q=test~0.8
 

do you add ~0.8 in the query (http) or in the solrconfig.xml (like str
name=qfield~0.8/str)?

is test the fieldName or a search string?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-RequestHandler-adn-Fuzzy-Search-tp3178747p3179643.html
Sent from the Solr - User mailing list archive at Nabble.com.