You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by meghana <me...@amultek.com> on 2011/11/28 13:38:53 UTC

make fuzzy search for phrase

Hi All,

I am doing fuzzy search in my solr , its working good for signle term , but
when searching for  phrases i get either bulk of data or very less data. is
there any good way for getting satisfactory amount of data with nice
accuracy.

1) q:"kenny zemanski" : 9 recors
2) keny~0.7 zemansi~0.7 AND  ken* : 22948 records. 

i want to get amount of data that is good in accuracy and some what near to
my actual results. by applying more accuracy than if 0.7 , i am getting very
less data and none match with my desired result.

anybody have any idea?
any help much appreciated.
Meghana 

--
View this message in context: http://lucene.472066.n3.nabble.com/make-fuzzy-search-for-phrase-tp3542079p3542079.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: make fuzzy search for phrase

Posted by Erick Erickson <er...@gmail.com>.
What did you do to install it? What code line did you start from?
1.4 Solr? 3.1? Fresh trunk update?

What jar? The usual method of applying a patch is to get the entire source
tree, apply the patch and then re-compile all of solr. Perhaps this page
would help:

http://wiki.apache.org/solr/HowToContribute

Note that this patch is a zip file, not in the usual patch format, so doing this
may be a bit tricky.

Best
Erick

On Thu, Dec 1, 2011 at 6:00 AM, meghana <me...@amultek.com> wrote:
> any solutions?? i am just get stuck in this.  :(
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/make-fuzzy-search-for-phrase-tp3542079p3551203.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Re: make fuzzy search for phrase

Posted by meghana <me...@amultek.com>.
any solutions?? i am just get stuck in this.  :(  

--
View this message in context: http://lucene.472066.n3.nabble.com/make-fuzzy-search-for-phrase-tp3542079p3551203.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: make fuzzy search for phrase

Posted by meghana <me...@amultek.com>.
I  installed ComplexPhraseQueryParser as suggested by you from
https://issues.apache.org/jira/browse/SOLR-1604 

by adding latest version of it , i am getting error 
------------------------------------------------------------
HTTP Status 500 - luceneMatchVersion java.lang.NoSuchFieldError:
luceneMatchVersion at org.apache.solr.search.SolrComplexPhraseQueryParser
------------------------------------------------------------


while adding older version of it.. i didn't getting error while querying ,
but when starting solr i get below error...
------------------------------------------------------------
18:27:38,117 ERROR [ProfileDeployAction] Failed to add deployment:
ComplexPhrase-1.0.jar: org.jboss.deployers.spi.DeploymentException: Failed
to mount archive:
"/opt/jboss-6.0.0.Final/server/default/deploy/ComplexPhrase-1.0.jar"

*** DEPLOYMENTS MISSING DEPLOYERS: Name

vfs:///opt/jboss-6.0.0.Final/server/default/deploy/ComplexPhrase-1.0.jar
----------------------------------------------------------

any idea why such error is coming...
Thanks
Meghana



--
View this message in context: http://lucene.472066.n3.nabble.com/make-fuzzy-search-for-phrase-tp3542079p3548238.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: make fuzzy search for phrase

Posted by meghana <me...@amultek.com>.
This seems to be solution of my problem.. i definitely try this. 

Thanks for your reply.
Meghana.

--
View this message in context: http://lucene.472066.n3.nabble.com/make-fuzzy-search-for-phrase-tp3542079p3544239.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: make fuzzy search for phrase

Posted by Ahmet Arslan <io...@yahoo.com>.
> I am doing fuzzy search in my solr , its working good for
> signle term , but
> when searching for  phrases i get either bulk of data
> or very less data. is
> there any good way for getting satisfactory amount of data
> with nice
> accuracy.
> 
> 1) q:"kenny zemanski" : 9 recors
> 2) keny~0.7 zemansi~0.7 AND  ken* : 22948 records. 
> 

You can do it with https://issues.apache.org/jira/browse/SOLR-1604

q="keny~0.7 zemansi~0.7" AND  ken*