Hello, i am new to elasticsearch and i need some help/hints for creatine my 
model. For my relational database ( mysql ) is have the following situation:

Table: Subcategories
Columns: Name, Company

Every subcategory has a name and has a 1:n company relation.

The next is:

Table: Company
Columns: Name, Subcategory

Every company has a name and has a 1:n subcategory relation.

How can i modelling this for elasticsearch. I have a serach form with the 
following situation: The user can serach for subcategories, but only one 
should shown with have a company assigned. Then you select a subcategory 
and omitted the subcategory id. Then only companies should shown which are 
assigned to the subcategory.

For some hints i would be very thankfull.

Thanks

Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/53655a8b-46bc-4c95-8959-61831ac3d1c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to