It's possible to perform a query to the following solr collection
{
"id":1,
"book_name":"Solr book",
"category":[1,2,3],
"author":[1]
},
{
"id":1,
"book_name":"Rocky",
"category":[3],
"author":[2]
},
{
"category_id": 1,
"category_name":"Technology"
},
{
"category_id": 2,
"category_name":"Apache Lucene"
},
{
"category_id": 3,
"category_name":"Sport"
},
{
"author_id": "1",
"author_name" "Chuck Norris"
},
{
"author_id": "1",
"author_name" "John Rambo"
}
which will return something like:
{
"id": 1,
"book_name": "Solr book",
"categories": ["Technology", "Apache Lucene"],
"Authors": ["Chuck Norris"]
}
searching by book_name AND/OR category_name AND/OR author name in a typical Searchbox input? or an alternative response, which I will return something similar?
Otherwise which is the preferred workaround/best practice to achieve it?
...we would like to perform a single query through out the Frontend web App without using the Backend web App to structure the response, because that data is already in solr.