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

Alan Woodward commented on SOLR-15389:
--------------------------------------

Hey [~mdrob], I think your approach above is the most sensible.  I don't think 
we guarantee anything about string representations of queries, but we do 
guarantee that identical Query objects should compare as equal (given that we 
require it for query caching, efficient boolean rewriting, etc), so that should 
be what Solr is checking.  If you're worried about verbosity then maybe add 
some simple factory methods?

> Certain tests rely on DisjunctionMaxQuery clause order 
> -------------------------------------------------------
>
>                 Key: SOLR-15389
>                 URL: https://issues.apache.org/jira/browse/SOLR-15389
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mike Drob
>            Priority: Major
>
> Broken by LUCENE-9940
> Test failures e.g. 
> org.apache.solr.search.TestSolrQueryParser.testSynonymQueryStyle
> {noformat}
> org.junit.ComparisonFailure:
> <(t_pick_best_foo:[tabbi | t_pick_best_foo:cat | t_pick_best_foo:felin] | 
> t_pick_best_foo:a...> 
> <(t_pick_best_foo:[felin | t_pick_best_foo:cat | t_pick_best_foo:tabbi] | 
> t_pick_best_foo:a...>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to