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

[GitHub] [lucene] bobmanc opened a new issue, #12416: Lucene KNN token vectors demo

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

   ### Description
   
   0
   
   I am trying to use a larger vector dictionary with the demo code. I have tried all the files here https://nlp.stanford.edu/projects/glove/ and every one throws this...
   
   `inputs are added out of order lastInput=[74 68 65] vs input=[2e]
   java.lang.AssertionError: inputs are added out of order lastInput=[74 68 65] vs input=[2e]
       at org.apache.lucene.util.fst.FSTCompiler.add(FSTCompiler.java:478)
       at com.trevr.service.lucene.knn.KnnVectorDict$Builder.addOneLine(KnnVectorDict.java:222)`


-- 
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


[GitHub] [lucene] msokolov commented on issue #12416: Lucene KNN token vectors demo

Posted by "msokolov (via GitHub)" <gi...@apache.org>.
msokolov commented on issue #12416:
URL: https://github.com/apache/lucene/issues/12416#issuecomment-1622293880

   Your dictionary must be sorted in UTF-8 order


-- 
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