I'm having trouble using the built-in lucene index via RDF4J over HTTP. I've followed the following steps:
- Using rdf4j-workbench, I created a repository using the type
Native Java Store with RDFS+SPIN+Lucene
- On the client, I use:
repo = new HTTPRepository( <server>, <repo> ); repo.initialize();
- I loaded the repository as I normally would. I see on the server there is a directory called
server/repositories/<repo>/index
which appears to contain a lucene index. - I run the query following the documentation here: http://docs.rdf4j.org/programming/#_full_text_indexing_with_the_lucene_sail.
- No hits are returned.
- I move the repository and index to the local machine, and use a LuceneSail to create the repository connection.
- Rerun the same query, and I get hits.
How do I reproduce the local results from the server over HTTP?