dileepajayakody / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
Other
1 stars 0 forks source link

docidfield in LSA is hardcoded #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using an index with a docidfield is different than "path" or where field 
"path" doesn't exist in the index will cause LSA to crash.
2.
3.

What is the expected output? What do you see instead?
Use Flags.docidfield when writing out document vectors 

String thePath = indexReader.document(cnt).get("path");
          should be:
String thePath = indexReader.document(cnt).get(Flags.docidfield);

What version of the product are you using? On what operating system?
3.2 on OSX

Please provide any additional information below.

Original issue reported on code.google.com by brant.c...@gmail.com on 8 Feb 2012 at 7:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in revision 650 
(http://code.google.com/p/semanticvectors/source/detail?r=650), released in 
version 3.4.

Original comment by dwidd...@gmail.com on 1 Mar 2012 at 5:06