Re: [PR] Make FSTPostingFormat to build FST off-heap [lucene]

2023-12-25 Thread via GitHub
dungba88 commented on code in PR #12980: URL: https://github.com/apache/lucene/pull/12980#discussion_r1436285373 ## lucene/codecs/src/java/org/apache/lucene/codecs/memory/FSTTermsWriter.java: ## @@ -278,6 +298,7 @@ public void finish(long sumTotalTermFreq, long sumDocFreq, int

Re: [PR] Make FSTPostingFormat to build FST off-heap [lucene]

2023-12-25 Thread via GitHub
dungba88 commented on code in PR #12980: URL: https://github.com/apache/lucene/pull/12980#discussion_r1436295737 ## lucene/codecs/src/java/org/apache/lucene/codecs/memory/FSTTermsWriter.java: ## @@ -187,33 +200,38 @@ public void write(Fields fields, NormsProducer norms) throws

Re: [PR] Make FSTPostingFormat to build FST off-heap [lucene]

2023-12-25 Thread via GitHub
dungba88 commented on PR #12980: URL: https://github.com/apache/lucene/pull/12980#issuecomment-1869323228 I temporarily made this PR to just split the meta and data into 2 files, but still use on-heap DataOutput. Seems like the test passed. -- This is an automated message from the Apache

Re: [PR] Make FSTPostingFormat to build FST off-heap [lucene]

2023-12-25 Thread via GitHub
dungba88 commented on code in PR #12980: URL: https://github.com/apache/lucene/pull/12980#discussion_r1436285373 ## lucene/codecs/src/java/org/apache/lucene/codecs/memory/FSTTermsWriter.java: ## @@ -278,6 +298,7 @@ public void finish(long sumTotalTermFreq, long sumDocFreq, int

[PR] Make FSTPostingFormat to build FST off-heap [lucene]

2023-12-25 Thread via GitHub
dungba88 opened a new pull request, #12980: URL: https://github.com/apache/lucene/pull/12980 ### Description Note: This PR is not ready yet. There are still some failed tests I'm trying to figure out. This is an attempt to make FSTPostingFormat to write the FST off-heap. Inste

Re: [I] [BUG] FSDirectory stuck at open(Path path) method when ran from .jar file [lucene]

2023-12-25 Thread via GitHub
setokk commented on issue #12968: URL: https://github.com/apache/lucene/issues/12968#issuecomment-1868911761 I tried but to no avail. I'm using maven for packaging the app in .jar. Folder structure: ![image](https://github.com/apache/lucene/assets/73780295/fb6055f2-0df5-4897-ac93-c

Re: [I] [BUG] FSDirectory stuck at open(Path path) method when ran from .jar file [lucene]

2023-12-25 Thread via GitHub
bajibalu commented on issue #12968: URL: https://github.com/apache/lucene/issues/12968#issuecomment-1868838686 Hi @setokk I am a new contributor to this repo. Unfortunately, I don't have both Windows 10 and Arch Linux. However, I ran the sample code above in the below setting and was able t