This should be fine.
You can always de-normalize your MySQL scheme in your elasticsearch indexes.


On Thu, Apr 10, 2014 at 6:50 AM, Janis Gruzis <[email protected]> wrote:

> Hello,
>
> im trying to create ElasticSearch mapping in Symfony 2 with help of
> FOSElasticaBundle. Well it probably is not relevant that I use Symfony 2,
> but relevant is the fact that Im trying to create mapping as similar to
> MySQL schema as I can. I stumbled upon situation, where I have foreign key,
> which can be null. As far as I know there are multiple ways to implement
> foreign key in ElasticSearch, I chose child/parent approach. Can I
> implement in this approach the null foreign key which would mean that type
> would have defined parent, but in some cases parent wouldnt exist?
>
> --
> 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/353046c4-184c-4431-bf60-4c1747470c95%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/353046c4-184c-4431-bf60-4c1747470c95%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANL9KRJWm4iv0FTg926wQ%2BTUWCYRo-NVOoxCM18v0vErxrVZ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to