Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49199

How to join Apache Solr docs?

$
0
0

I'm working on a hotel booking websites and I have two content-types which names are hotel and room and each room is a child of a specific hotel (I have made the relationship with Node Reference).
I have used Apache Solr to index and search the contents but because the rooms and hotels are separate content-types they will be index in separate documents (doc) in Apache Solr, so when I want to query something like "Show me hotels which have a room with less than $200 per night", it fails. because price is an attribute of room not hotel, but my search is based on hotels!

Is there a way to join these two docs (hotel and it's room childs) in apache solr?


Viewing all articles
Browse latest Browse all 49199

Trending Articles