Hi Folks - I'm struggling with getting started using SOLR. I've a new SOLR 4.6.0 install and have indexed the example documents provided in the example configuration.
I think I have the BuildIndex command created in a similar way to that specified on the wiki page related to using SOLR, and I think that I've seen, in comments here, that Lucene 4.6.0 is compatible with SemanticVectors 5.4 - however, unfortunately I'm finding the following error when running BuildIndex
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)
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.jarIf you may have crossed this bridge, any help would be greatly appreciated.
Thanks
Kirby
PS - Dominic, I am VERY eagerly waiting for the copy of "Geometry and Meaning" that I just got on Amazon - your sample chapter was awesome! With SemanticVectors, Geometry and Meaning, OpenSkyMap, etc, you seem to be a remarkable person - thanks so much for sharing!