lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <marko.aspl...@gmail.com>
Subject Dynamic data model design questions
Date Mon, 15 Apr 2013 14:40:36 GMT
I'm implementing a backend service that stores data in JSON format and I'd
like to provide a search operation in the service.
The data model is dynamic and will contain arbitrarily complex object
graphs.

How do I index object graphs with Solr?
Does the data need to be flattened before indexing?

Apparently the service needs to deliver new data and updates to Solr,
but which one should be responsible for converting the data model to adhere
to Solr schema? The service or Solr?
Should the service deliver data to Solr in a form that adheres to Solr
schema or should Solr be extended to digest data provided by the service?

How does Solr handle dynamic data models?
Solr seems to support dynamic data models with the "dynamic fields" feature
in schemas.
How are data types inferred when using dynamic fields?

An alternative to using dynamic fields seems to be to change the schema
when the data model changes.
How easy is it to modify an existing schema?
Do I need to reindex all the data?
Can you do it online using an API?

I'm planning on using Solr 4.2.


marko

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message