[jira] [Issue Comment Edited] (SOLR-1604) Wildcards, ORs etc inside Phrase Queries

2012-05-08 Thread Mike Bria (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270648#comment-13270648
 ] 

Mike Bria edited comment on SOLR-1604 at 5/8/12 6:00 PM:
-

Hi everyone,

Sorry, but I'm green to this stuff.  How do I "apply/install" a "*.patch" file?

I downloaded and successfully built (well, "packaged", via mvn) the 
ComplexPhrase.zip from Jul-2011.

I then downloaded the 'SOLR-1604-alternative.patch' from Feb-2012. I can open 
and view it via a text editor...but I have no idea what to do to "apply" it?  
I'm working on a RH Linux box at the moment.

Can anyone guide me and/or point me in the right direction please?

Thanks!
Mike

  was (Author: mbria):
Hi everyone,

Sorry, but I'm green to this stuff.  How do I "apply/install" a "*.patch" file?

I downloaded and successfully built (well, "packaged", via mvn) the 
ComplexPhrase.zip from Jul-2011.

I then downloaded the SOLR-1604-alternative.patch from Feb-2012. I can open and 
view it via a text editor...but I have no idea what to do to "apply" it?  I'm 
working on a RH Linux box at the moment.

Can anyone guide me and/or point me in the right direction please?

Thanks!
Mike
  
> 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: 4.0
>
> Attachments: ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip, 
> ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhraseQueryParser.java, 
> SOLR-1604-alternative.patch, SOLR-1604.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] Issue Comment Edited: (SOLR-1604) Wildcards, ORs etc inside Phrase Queries

2011-01-12 Thread Salman Akram (JIRA)

[ 
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:41 AM:
-

I integrated the patch and its working fine however, there were couple of 
issues. 

One is related to un-ordered proximity which seems to be fixed with the inOrder 
parameter but its not working for me (doesn't give any error but its still 
ordered). I will try to get the patch again coz I also merged it in early Nov 
so maybe it was applied after that.

The other 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...

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!
  
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] Issue Comment Edited: (SOLR-1604) Wildcards, ORs etc inside Phrase Queries

2011-01-12 Thread Salman Akram (JIRA)

[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org