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

Simon Willnauer commented on LUCENE-8331:
-----------------------------------------

{quote}How else would something like this be executed? Maybe I don't understand 
your subsequent recommendation...\{quote}

can it just be a utility class that I call from a test or so I mean I am not 
sure how userfriendly it is to specify classpaths etc. I'd just run it from a 
test. I also think it's way more flexible if you have a java API to call rather 
than some cmd args you need to parse etc.

 

{quote}Are you basically fine with me committing this?\{quote}

I think it should support deletes and should not use IW then I ok with it

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

Reply via email to