[
https://issues.apache.org/jira/browse/LUCENE-8331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492919#comment-16492919
]
David Smiley commented on LUCENE-8331:
--------------------------------------
Thanks for your input Simon.
bq. I am not sure it needs to be a commandline util.
How else would something like this be executed? Maybe I don't understand your
subsequent recommendation...
bq. I would rather build the individual tools to plug stuff together as an API
and put most of the utils like creating the simulated segments into the base
tests class.
I may not be getting your point but I think you're saying you'd like Lucene's
test infrastructure to have _some_ of the elements of what this test does.
Sounds good to me. Nevertheless the outcome of that would be less code in this
simulator... but somewhere there needs to be a main() to literally run the
simulation and setup whatever the simulated environment is, and code to track
some stats of interest. Right?
Are you basically fine with me committing this?
> MergePolicy simulator utility
> -----------------------------
>
> Key: LUCENE-8331
> URL: https://issues.apache.org/jira/browse/LUCENE-8331
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
> Attachments: LUCENE-8331.patch
>
>
> This issue introduces a MergePolicy simulator utility to help evaluate the
> effectiveness of a MergePolicy. The simulator does not result in the actual
> indexing and merging of segments; instead it provides some dummy constructs
> to MergePolicy to evaluate its decisions. Therefore you can do simulation
> runs in little time.
> I'm not sure where it would live. Perhaps dev-tools, or in tests, or in
> benchmark?
> I mentioned this recently here:
> https://issues.apache.org/jira/browse/LUCENE-7976?focusedCommentId=16446985&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16446985
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]