[ https://issues.apache.org/jira/browse/LUCENE-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856917#action_12856917 ]
Shai Erera commented on LUCENE-2159: ------------------------------------ bq. There is an excellent section on it in LIA2 Indeed ! Ok so to create a task, you just extend PerfTask. You can look under contrib/benchmark/src/java/o.a.l/benchmark/byTask/tasks for many examples. OptimizeTask seems relevant here (i.e. it calls an IW API and receives a parameter). For writing .alg files, that's SUPER simple, just look under contrib/benchmark/conf for many existing examples. You can post a patch once you feel comfortable enough with it and I can help you with the struggles (if you'll run into any). Another great source (besides LIA2) on writing .alg files is the package.html under contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask. > 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