I am using solr 1.4 dev in a multicore way.  Each of my core's
solrconfig.xml has the following lines

<requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
<requestHandler name="/update/javabin"
class="solr.BinaryUpdateRequestHandler" />

I am using SolrJ as EmbeddedSolrServer. When I try to add a POJO ( with
@Field annotations ), the data does not get indexed. Where as, if I use
SolrInputDocument way, the data gets indexed.

PS: Both ways I am adding data using addBean/add and then commit followed by
optimize

PPS: The final intention is that all the indexing and searching needs to be
done in the binary format since I am running on a single machine.

Could someone provide insights on this issue ?

Thanks!

Reply via email to