You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "kensdorf (via GitHub)" <gi...@apache.org> on 2023/05/25 15:33:28 UTC

[GitHub] [lucene] kensdorf opened a new issue, #12330: Demo application throws an exception when following documentation.

kensdorf opened a new issue, #12330:
URL: https://github.com/apache/lucene/issues/12330

   ### Description
   
   If you clone the lucene core repo and follow the instruction at https://lucene.apache.org/core/9_6_0/demo/index.html to run the demo app, you get the following exception:
   
   ```
   Exception in thread "main" java.lang.RuntimeException: Are you (ab)using the toy vector dictionary? See the package javadocs to understand why you got this exception.
           at org.apache.lucene.demo.IndexFiles.main(IndexFiles.java:181)
   ```
   
   Looking at the code, this will happen any time you don't pass `-knn_dict` as `vectorDictSize` will always be zero in that case.
   
   ### Version and environment details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [I] Demo application throws an exception when following documentation. [lucene]

Posted by "msokolov (via GitHub)" <gi...@apache.org>.
msokolov closed issue #12330: Demo application throws an exception when following documentation.
URL: https://github.com/apache/lucene/issues/12330


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org