[ https://issues.apache.org/jira/browse/LUCENE-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856911#action_12856911 ]
Shai Erera commented on LUCENE-2159: ------------------------------------ Which is fine - I think this would be a neat task to add to benchmark, w/ specific documentation on how to use it and for what purposes. If you can also write a sample .alg file which e.g. creates a small index and then Expand it, that'd be great. I've looked at the different PerfTask implementations in benchmark, and I'm thinking if we perhaps should do the following: * Create an AddIndexesTask which receives one or more Directories as input and calls writer.addIndexesNoOptimize * If one wants, he can add an OptimizeTask call afterwards. * Write an expandIndex.alg which initially creates an index of size N from one content source and then calls the AddIndexesTask several times. The .alg file is meant to be an example as well as people can change it to create bigger or smaller indexes, use other content sources and switch between RAM/FS directories. How's that sound? > Tool to expand the index for perf/stress testing. > ------------------------------------------------- > > Key: LUCENE-2159 > URL: https://issues.apache.org/jira/browse/LUCENE-2159 > Project: Lucene - Java > Issue Type: New Feature > Components: contrib/* > Affects Versions: 3.0 > Reporter: John Wang > Attachments: ExpandIndex.java > > > Sometimes it is useful to take a small-ish index and expand it into a large > index with K segments for perf/stress testing. > This tool does that. See attached class. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org