Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Thanks . We tried genre_s:fantasy and it worked. Thank you for the help. We were stuck on this for a long time. Another question is that when we query the value for the author Rick it returns the JSON without having to specify author:Rick . Is there any specific reason for this? Will we have to do

Re: Using books.json in solr

2015-10-27 Thread Erik Hatcher
Salonee - attachments generally do not pass through the solr-user list. If you added a field, did you then *reindex* the data? And what was the query you gave? Just q=fantasy may not be good enough (see debug=true output and what the query was parsed to, in particular what fields were querie

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
{ "id" : "978-1423103349", "cat" : ["book","paperback"], "name" : "The Sea of Monsters", "author" : "Rick Riordan", "series_t" : "Percy Jackson and the Olympians", "sequence_i" : 2, "genre_s" : "fantasy", "inStock" : true, "price" : 6.49, "pages_i" : 304 }

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Hello *Salonee Rege* USC Viterbi School of Engineering University of Southern California Master of Computer Science - Student Computer Science - B.E salon...@usc.edu *||* *619-709-6756* On Tue, Oct 27, 2015 at 11:06 AM, Sameer Maggon wrote: > Hi Salonee, > > I believe you missed adding the q

Re: Using books.json in solr

2015-10-27 Thread Rallavagu
Could you simply paste the query from Solr logs here? On 10/27/15 10:57 AM, Salonee Rege wrote: Please find attached the following books.json which is in the example-docs file for your reference. And a screenshot of querying it on the field fantasy for genre key. Thanks for the help. /Salonee

Re: Using books.json in solr

2015-10-27 Thread Sameer Maggon
Hi Salonee, I believe you missed adding the query screenshot? Sameer. On Tue, Oct 27, 2015 at 10:57 AM, Salonee Rege wrote: > Please find attached the following books.json which is in the example-docs > file for your reference. And a screenshot of querying it on the field > fantasy for genre k

Re: Using books.json in solr

2015-10-27 Thread Salonee Rege
Please find attached the following books.json which is in the example-docs file for your reference. And a screenshot of querying it on the field fantasy for genre key. Thanks for the help. *Salonee Rege* USC Viterbi School of Engineering University of Southern California Master of Computer Scienc

Re: Using books.json in solr

2015-10-27 Thread Sameer Maggon
Hi Salonee, can you post the query and your schema file too? Thanks, -- *Sameer Maggon* www.measuredsearch.com Solr Cloud Hosting | Managed Services | Solr Consulting On Tue, Oct 27, 2015 at 10:44 AM, Salonee Rege wrote: > Hello, > We are trying to query the boo

Re: Using books.json in solr

2015-10-27 Thread Rallavagu
Could you please share your query? You could use "wt=json" query parameter to receive JSON formatted results if that is what you are looking for. On 10/27/15 10:44 AM, Salonee Rege wrote: Hello, We are trying to query the books.json that we have posted to solr. But when we try to specficall