On Mon, Sep 26, 2011 at 6:52 PM, Neil firstname.lastname@example.org wrote:
I'm using the Java API.
Is there a way to search only on one index?
Based on your next questions, I think you are confused a bit on the data
schema in elasticsearch. A cluster in elasticsearch can handle many indices.
Each index has its own distributed settings, mainly, the number of shards
and number of replicas. You can easily search only on one index, several
indices, or all of them using either the REST or the Java API.
Solr had a way of not replicating to the slaves unless an optimize was
done. Is there an equivalent in elastic search?
Thats not how elasticsearch works in terms of replication. See this
Also, solr has the concept of the schema.xml -- how do I create
different definitions for my fields?
Yes, that would be called mappings in elasticsearch, and can be associated
on a index level per type. See more here: