Tomas,
If you mean something like
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
you can check proposed Solr integration
https://issues.apache.org/jira/browse/SOLR-3076
Regards
On Thu, Aug 2, 2012 at 9:53 PM, Alexandre Rafalovitch wrote:
> You are not going to get
You are not going to get nested entries. So, your sample result is not
possible. Perhaps you just need to flatten your searchable fields into
individual article entries and then use a separate DB query to get the
product information back out of the database.
SOLR is not a database, even a NoSQL on
hm ok I think i have to write my example data and the queries I want
to make + the response I expect...
Data:
{
"product_id": "xyz76",
"product_name": "tank top",
"brand": "adidas",
"description":"this is the long description of the product",
"short_descrip
Sorry, that did not explain the problem, just more info about data
layout. What are you actually trying to get out of SOLR?
Are you saying you want parent's details repeated in every entry? Are
you saying that you want to be able to find entries and from there,
being able to find specific parent.
Thanks for the answer.
Ich have to explain, where the problem is...
you may have at the shop solutions products and articles.
The product is the parent of all articles...
in json...
{
"product_name": "tank top",
"article_list": [
{
"color": "red",
"pri
The general rule is to flatten the structures. You have a choice between
sharing common fields between tables, such as "title", or adding a
prefix/suffix to qualify them, such as "document_title" vs. "product_title".
You also have the choice of storing different tables in separate Solr
cores/c