[jira] [Commented] (SOLR-3385) Extended Dismax parser ignores all regular search terms when one search term is using + (dismax behaves differently)

2013-05-20 Thread Naomi Dushay (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13662402#comment-13662402
 ] 

Naomi Dushay commented on SOLR-3385:


I believe this is the same as SOLR-2649:

// For correct lucene queries, turn off mm processing if there
// were explicit operators (except for AND).
boolean doMinMatched = (numOR + numNOT + numPluses + numMinuses) == 0;
(lines 232-234 taken from 
tags/lucene_solr_3_3/solr/src/java/org/apache/solr/search/ExtendedDismaxQParserPlugin.java)

 Extended Dismax parser ignores all regular search terms when one search term 
 is using + (dismax behaves differently)
 

 Key: SOLR-3385
 URL: https://issues.apache.org/jira/browse/SOLR-3385
 Project: Solr
  Issue Type: Bug
  Components: query parsers
Affects Versions: 3.5
Reporter: Nils Kaiser
 Attachments: select_dev_PLUSsales_dismax_553results.xml, 
 select_dev_PLUSsales_edismax_9600results.xml, 
 select_dev_PLUSsales_miau_dismax_0results.xml, 
 select_dev_PLUSsales_miau_edismax_9600results.xml, 
 select_dev_sales_miau_edismax_0results.xml, 
 select_PLUSsales_dismax_9600results.xml, 
 select_PLUSsales_edismax_9600results.xml


 When using the extended dismax parser with at least one term using + or -, 
 all other search terms are ignored.
 Example:
 (the terms dev and sales are found in the index, the term miau is not part of 
 the index)
 dev sales miau, +dev +sales +miau, dev +sales +miau all give me 0 
 results (as expected)
 dev +sales miau, dev +sales or +sales return the same number of results 
 (dev and miau terms are ignored)
 The standard dismax parser always treats search terms as +, so dev sales 
 miau, +dev +sales miau, dev +sales miau return the same number of 
 results. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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] [Commented] (SOLR-3385) Extended Dismax parser ignores all regular search terms when one search term is using + (dismax behaves differently)

2012-04-20 Thread Erick Erickson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13258304#comment-13258304
 ] 

Erick Erickson commented on SOLR-3385:
--

Several things:

1 Please discuss issues like this on the user's list before raising a JIRA. I 
suspect that this is more an issue for you understanding how dismax works than 
a problem in the code, but I'm not sure (see below).

2 Please attach the results of adding debugQuery=on and show what you think 
is the error. That way we can see whether it's a real bug or not. For instance, 
if you've put the raw + in the URL, your browser may be transforming them into 
spaces which would produce the behavior you're seeing.


 Extended Dismax parser ignores all regular search terms when one search term 
 is using + (dismax behaves differently)
 

 Key: SOLR-3385
 URL: https://issues.apache.org/jira/browse/SOLR-3385
 Project: Solr
  Issue Type: Bug
  Components: query parsers
Affects Versions: 3.5
Reporter: Nils Kaiser

 When using the extended dismax parser with at least one term using + or -, 
 all other search terms are ignored.
 Example:
 (the terms dev and sales are found in the index, the term miau is not part of 
 the index)
 dev sales miau, +dev +sales +miau, dev +sales +miau all give me 0 
 results (as expected)
 dev +sales miau, dev +sales or +sales return the same number of results 
 (dev and miau terms are ignored)
 The standard dismax parser always treats search terms as +, so dev sales 
 miau, +dev +sales miau, dev +sales miau return the same number of 
 results. 

--
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