You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Salman Akram (JIRA)" <ji...@apache.org> on 2011/01/12 12:39:46 UTC
[jira] Issue Comment Edited: (SOLR-1604) Wildcards, ORs etc inside
Phrase Queries
[ https://issues.apache.org/jira/browse/SOLR-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980660#action_12980660 ]
Salman Akram edited comment on SOLR-1604 at 1/12/11 6:37 AM:
-------------------------------------------------------------
I integrated the patch and its working fine however, there were couple of issues. One is already resolved with the above un-ordered proximity parameters.
The issue is that although proximity search works with phrases BUT its not very accurate e.g. If I want to search "a b" within 10 words of "c" the query would end up being "a b c"~10 but this will also return cases where "a" is not necessarily together with "b". Any scenario where these 3 words are within 10 words of each other will match.
Is it possible in SOLR to do what I mentioned above? Any other patch? Something like " "a b" c "~10...
Note: I was going through Lucene-1486 and there Ahmet mentioned that "Specifically : "(john johathon) smith"~10 " works perfectly. For me it seems there is no difference if I put the parenthesis or not.
Thanks!
was (Author: salman741):
I integrated the patch and its working fine however, there were couple of issues. One is already resolved with the above un-ordered proximity parameters.
The issue is that although proximity search works with phrases BUT its not very accurate e.g. If I want to search "a b" within 10 words of "c" the query would end up being "a b c"~10 but this will also return cases where "a" is not necessarily together with "b". Any scenario where these 3 words are within 10 words of each other will match.
Is it possible in SOLR to do what I mentioned above? Any other patch? Something like " "a b" c "~10...
Thanks!
> Wildcards, ORs etc inside Phrase Queries
> ----------------------------------------
>
> Key: SOLR-1604
> URL: https://issues.apache.org/jira/browse/SOLR-1604
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 1.4
> Reporter: Ahmet Arslan
> Priority: Minor
> Fix For: Next
>
> Attachments: ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhraseQueryParser.java, SOLR-1604.patch
>
>
> Solr Plugin for ComplexPhraseQueryParser (LUCENE-1486) which supports wildcards, ORs, ranges, fuzzies inside phrase queries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org