Hi Members,

We are able to build and run benchmark using various algo file but when we
want to test custom codec like SimpleTextCodec, we are encountering issue
as mentioned below:

Command ran

gradle run -PtaskAlg=conf/indexing-flush-by-RAM-multithreaded.alg
-PmaxHeapSize=5G

Error

> Task :lucene:benchmark:compileJava FAILED
/home/intel/Documents/lucene/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/CreateIndexTask.java:30:
error: package org.apache.lucene.codecs.simpletext does not exist
import org.apache.lucene.codecs.simpletext.SimpleTextCodec;
                                          ^
/home/intel/Documents/lucene/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/CreateIndexTask.java:200:
error: cannot find symbol
    iwConf.setCodec(new SimpleTextCodec());
                        ^
  symbol:   class SimpleTextCodec
  location: class CreateIndexTask
2 errors

Kindly help.

Thanks,
Praveen Nishchal

Reply via email to