Are you able to use the regular Solr server to do comparable tasks?
Best to learn Solr using the standard setup and tutorial and then reproduce
problems there first, before getting too deep into "embedded".
-- Jack Krupansky
-----Original Message-----
From: Delip Rao
Sent: Monday, August 12, 2013 4:58 PM
To: solr-user@lucene.apache.org
Subject: Using EmbeddedSolrServer in Solr 4.4.0
Hello,
I'm trying to teach myself how to use EmbeddedSolrServer for indexing and
querying. I wrote a simple program -- Index a bunch of documents and query
all documents. I'm using Solr 4.4.0 jars and I can't see any output from
the query, i.e. I get 0 hits.
13/08/12 12:41:17 INFO core.SolrCore: [shakespeare] webapp=null
path=/select params={*:*=} hits=0 status=0 QTime=21
The code I wrote for this is here:
https://gist.github.com/delip/6214406
My schema.xml is here:
https://gist.github.com/delip/6214442
And the logs from running the code is here:
https://gist.github.com/delip/6214466
Any idea what I am doing wrong?
Thanks,
Delip
twitter.com/deliprao