RE: How to properly use Levenstein distance with ~ in Java

2014-10-23 Thread Will Martin
using the Levenshtein distance. " http://dx.doi.org/10.1145/2623330.2623677 re will -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Thursday, October 23, 2014 12:05 PM To: solr-user Subject: Re: How to properly use Levenstein distance with ~ in Java

Re: How to properly use Levenstein distance with ~ in Java

2014-10-23 Thread Alexandre Rafalovitch
> > inside your solrconfig.xml ? >> >> Best regards >> >> Karsten >> >> P.S. in Context: >> http://lucene.472066.n3.nabble.com/How-to-properly-use-Levenstein-distance-with-in-Java-td4164793.html >> >> >>> On 20 October 2014 11:13, Aleksander Sadecki wrote: >>> >>> Ok, thank you for your response. But why I cannot use '~'? >

Re: How to properly use Levenstein distance with ~ in Java

2014-10-23 Thread Walter Underwood
you are using path "/select" with qt=dismax. This normaly > would throw an exception. > Is there a tag >inside your solrconfig.xml ? > > Best regards > > Karsten > > P.S. in Context: > http://lucene.472066.n3.nabble.com/How-to-properly-use-Leve

Re: Re: How to properly use Levenstein distance with ~ in Java

2014-10-22 Thread karsten-solr
using path "/select" with qt=dismax. This normaly would throw an exception. Is there a tag   http://lucene.472066.n3.nabble.com/How-to-properly-use-Levenstein-distance-with-in-Java-td4164793.html   > On 20 October 2014 11:13, Aleksander Sadecki wrote: > > Ok, thank you for your response. But why I cannot use '~'?

Re: How to properly use Levenstein distance with ~ in Java

2014-10-21 Thread Erick Erickson
1. > A query such as "foo bar"~1000 is an interesting alternative to foo AND > bar. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-properly-use-Levenstein-distance-with-in-Java-tp4164793p4165079.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to properly use Levenstein distance with ~ in Java

2014-10-20 Thread Ramzi Alqrainy
proximity 1. A query such as "foo bar"~1000 is an interesting alternative to foo AND bar. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-properly-use-Levenstein-distance-with-in-Java-tp4164793p4165079.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to properly use Levenstein distance with ~ in Java

2014-10-20 Thread Aleksander Sadecki
Ok, thank you for your response. But why I cannot use '~'? On 20 October 2014 07:40, Ramzi Alqrainy wrote: > You can use Levenstein Distance algorithm inside solr without writing code > by > specifing the source of terms in solrconfig.xml > > > >

Re: How to properly use Levenstein distance with ~ in Java

2014-10-19 Thread Ramzi Alqrainy
You can use Levenstein Distance algorithm inside solr without writing code by specifing the source of terms in solrconfig.xml solr.IndexBasedSpellChecker ./spellchecker content true This example shows the results of a simple query that defines a query using the

How to properly use Levenstein distance with ~ in Java

2014-10-18 Thread Aleksander Sadecki
have been found before. I am trying to add Levenstein distance in my Java code. I have got a piece of code: import org.apache.solr.client.solrj.SolrServer; // ... private SolrServer solrServer // ... QueryResponse originalResponse = solrServer.query(solrQuery); here you can find how my variable

Re: return *all* words at levenstein distance = N from query word

2012-06-07 Thread Paul Libbrecht
, Giovanni Gherdovich a écrit : > Hi all, > > I am wandering if SOLR can return me all words in my text corpus > that have a given levenstein distance with my query word. > > Possible? > Difficult? > > Cheers, > Giovanni

return *all* words at levenstein distance = N from query word

2012-06-07 Thread Giovanni Gherdovich
Hi all, I am wandering if SOLR can return me all words in my text corpus that have a given levenstein distance with my query word. Possible? Difficult? Cheers, Giovanni

Re: Levenstein Distance

2012-06-07 Thread Tommaso Teofili
://www.lucidimagination.com/blog/2009/08/05/getting-started-with-payloads/ 2012/6/6 Gau > I have a list of synoynms which is being expanded at query time. This > yields > a lot of results (in millions). My use-case is name search. > > I want to sort the results by Levenstein Distance. I know t

Levenstein Distance

2012-06-06 Thread Gau
I have a list of synoynms which is being expanded at query time. This yields a lot of results (in millions). My use-case is name search. I want to sort the results by Levenstein Distance. I know this can be done with strdist function. But sorting being inefficient and Solr function adding to its