Re:Cache (serialized) tokensteam?

2021-11-22 Thread xiaoshi
Can you try to cache the word segmentation results? This will be easier. At 2021-11-22 16:40:42, "Omri" wrote: >We are indexing a lot of similar texts using Lucene analyzers. >From our performance tests we see that the analyzation (converting the text >the tokensteam object) is t

index file of lucene8.7 is larger than the 7.7

2021-11-16 Thread xiaoshi
Hi, everyone. I found that the index file of lucene8.7 is larger than the 7.7 version: My data source: lucene/demo/src/test/org/apache/lucene/demo/test-files/docs The index code is as follows: InputStream stream = Files.newInputStream(file) Document doc = new Document(); Field pathField = new

Re:Re:Re:RE: Failed to execute Ant run-task command

2021-08-19 Thread xiaoshi
I have submitted the relevant issues on jira: LUCENE-10058. At 2021-08-20 00:31:22, "xiaoshi" wrote: >I also get an StringIndexOutOfBoundsException error when I run the latest >main(9.0) branch. > > >the commond: ./gradlew lucene:benchmark:run >

Re:Re:RE: Failed to execute Ant run-task command

2021-08-19 Thread xiaoshi
I also get an StringIndexOutOfBoundsException error when I run the latest main(9.0) branch. the commond: ./gradlew lucene:benchmark:run -Druntime.java.home=/Library/Java/JavaVirtualMachines/jdk-11.0.5.jdk/Contents/Home Run results: > Task :errorProneSkipped WARNING: errorprone disabled (ski

Re:RE: Failed to execute Ant run-task command

2021-08-19 Thread xiaoshi
heck if it still happens on main branch with Lucene 9.0 and >Gradle as build system? > >- >Uwe Schindler >Achterdiek 19, D-28357 Bremen >https://www.thetaphi.de >eMail: u...@thetaphi.de > >> -Original Message- >> From: xiaoshi >> Sent: Th

Failed to execute Ant run-task command

2021-08-18 Thread xiaoshi
Hello: When I running ant run-task command, the default thread name is main not ParallelTaskThread, StringIndexOutOfBoundsException error is thrown. Here is the stack error: [java] [java] ### D O N E !!! ### [java] [java] Error: cannot execute the algor