1 - A field that is called "type" which is probably a string field that you index values such as "people", "organization", "product".

2 - Yes, for each document you are indexing, you will include it's type, ie. "person"

3, 4, 5 - You would have a core for each domain. Each domain will then have it's own index that contains documents of all types. See http://wiki.apache.org/solr/MultipleIndexes .

Thanks,

Matt Weber




On May 5, 2009, at 11:14 AM, Michael Ludwig wrote:

Chris Masters schrieb:

- flatten the searchable objects as much as I can - use a type field
  to distinguish - into a single index
- use multi-core approach to segregate domains of data

Some newbie questions:

(1) What is a "type field"? Is it to designate different types of
documents, e.g. product descriptions and forum postings?

(2) Would I include such a "type field" in the data I send to the update
facility and maybe configure Solr to take special action depending on
the value of the update field?

(3) Like, write the processing results to a domain dedicated to that
type of data that I could limit my search to, as per Otis' post?

(4) And is that what's called a "core" here?

(5) Or, failing (3), and lumping everything together in one search
domain (core?), would I use that "type field" to limit my search to
a particular type of data?

Michael Ludwig

Reply via email to