[
https://issues.apache.org/jira/browse/SOLR-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656465#comment-13656465
]
Hoss Man commented on SOLR-4819:
--------------------------------
bq. Since we do random testing, it might be a good idea to generate random
queries rather than pre-canned ones
part of the reason there's no randomization in theses tests yet is because of
the difficulty in ensuring that hte randomly generated input is in fact valid
for an arbitrary qparsers.
the itch i was scratching when i wrote that class was that there were some
really blatent basic bugs with the equals methods in some of hte queries
produced by the existing parsers causing really bad cache performance, so i
wanted something that would ensure no parser would be included "out of hte box"
w/o at least some basic sanity checking that obviously equivilent queries were
equivilent.
I think having specific test classes for specific types of queries (or for
specific qparsers) would be the best place for more randomized testing ... this
class is really just the front line defense against something really terrible.
> Pimp QueryEqualityTest to use random testing
> --------------------------------------------
>
> Key: SOLR-4819
> URL: https://issues.apache.org/jira/browse/SOLR-4819
> Project: Solr
> Issue Type: Improvement
> Reporter: Greg Bowyer
> Priority: Minor
>
> The current QueryEqualityTest does some (important but) basic tests of query
> parsing to ensure that queries that are produced are equivalent to each other.
> Since we do random testing, it might be a good idea to generate random
> queries rather than pre-canned ones
--
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: [email protected]
For additional commands, e-mail: [email protected]