Hi Folks,
I guess I'm struggling a bit with the basics of getting running with SOLR. I've started a new instance of SOLR based on 4.6.0 (which I understand to work with SV 5.4). I've also indexed the handful of example docs that come with the SOLR example setup.
I've setup my classpath var as such
C:\sment\clas_srv\sv>echo %CLASSPATH%
.;C:\sment\clas_srv\sv\semanticvectors-5.4.jar;C:\sment\clas_srv\solr\example\solr-webapp\webapp\WEB-INF\lib\lucene-core-4.6.0.jarHowever, when I try to execute BuildIndex, I'm getting the following
C:\sment\clas_srv\sv>java -cp semanticvectors-5.4.jar;lucene-core-4.6.0.jar pitt.search.semanticvectors.BuildIndex -contentsfields title,text -docidfield id -luceneindexpath C:\sment\clas_srv\solr\example\solr\collection1\data\index
Seedlength: 10, Dimension: 200, Vector type: REAL, Minimum frequency: 0, Maximum frequency: 2147483647, Number non-alphabet characters: 2147483647, Contents fie
lds are: [title, text]
Creating term vectors as superpositions of elemental document vectors ...
Creating semantic term vectors ...Exception in thread "main" java.lang.NullPointerException
at pitt.search.semanticvectors.TermVectorsFromLucene.trainTermVectors(TermVectorsFromLucene.java:134)
at pitt.search.semanticvectors.TermVectorsFromLucene.createTermVectorsFromLuceneImpl(TermVectorsFromLucene.java:123)
at pitt.search.semanticvectors.TermVectorsFromLucene.createTermVectorsFromLucene(TermVectorsFromLucene.java:97)
at pitt.search.semanticvectors.BuildIndex.main(BuildIndex.java:109)
Any ideas would be greatly appreciated!
Thanks,
Ken K
PS - Dominic, I am VERY eagerly awaiting the copy of "Geometry and Meaning" that I just got on Amazon - your sample chapter was awesome!