Re: how to apply fuzzy search with slop
Thanks Erick, i have download ComplexPhraseQueryParser from your give link, apply maven package to create jar file and add it to WEB-INF/lib folder and generate war file and deploy to jboss server also i added QueryParser into solrconfig.xml file, now when i do normal search, it works fine but when i add defType=ComplexPhrase, it gives me error nosuchfielderror: luceneMatchVersion i am using solr 1.4 how to solve above error? Thanks, Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-apply-fuzzy-search-with-slop-tp3542286p3548074.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to apply fuzzy search with slop
I have no idea whether it will work with 1.4, although I haven't looked at the underlying code. I actually doubt it. There's an entry in newer solrconfig.xml files luceneMatchVersion that is referenced by that code for that just doesn't exist in the 1.4 code frame. I strongly recommend you upgrade, there's a TON of fixes/improvements in the 3x code line. ComplexPhraseQuery hasn't been committed yet, but you'd have a much better chance of making this work. Best Erick On Wed, Nov 30, 2011 at 6:57 AM, vrpar...@gmail.com vrpar...@gmail.com wrote: Thanks Erick, i have download ComplexPhraseQueryParser from your give link, apply maven package to create jar file and add it to WEB-INF/lib folder and generate war file and deploy to jboss server also i added QueryParser into solrconfig.xml file, now when i do normal search, it works fine but when i add defType=ComplexPhrase, it gives me error nosuchfielderror: luceneMatchVersion i am using solr 1.4 how to solve above error? Thanks, Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-apply-fuzzy-search-with-slop-tp3542286p3548074.html Sent from the Solr - User mailing list archive at Nabble.com.
Fuzzy search with slop
Hi, Can i apply fuzzy query and slop together... like q=hello world~0.5~3 I am getting error when applying like this. i want to make both fuzzy search and slop work. How can i do this, can anybody help me? Thanks in Advance. Meghana -- View this message in context: http://lucene.472066.n3.nabble.com/Fuzzy-search-with-slop-tp3542280p3542280.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Fuzzy search with slop
Can i apply fuzzy query and slop together... like q=hello world~0.5~3 I am getting error when applying like this. i want to make both fuzzy search and slop work. How can i do this, can anybody help me? It is possible with this plugin. https://issues.apache.org/jira/browse/SOLR-1604
Re: how to apply fuzzy search with slop
Interestingly, Ahmet Arslan just answered a virtually identical question: It is possible with this plugin. https://issues.apache.org/jira/browse/SOLR-1604; Best Erick On Mon, Nov 28, 2011 at 9:09 AM, vrpar...@gmail.com vrpar...@gmail.com wrote: Hello all, i want to search on phrase with fuzzy, e.g. q=word1 word2~ also want to apply slop for both words in phrase q=(word1 word2~)~2 doesn't work? how can i apply same? Thanks, Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-apply-fuzzy-search-with-slop-tp3542286p3542286.html Sent from the Solr - User mailing list archive at Nabble.com.