Multiple groups of boolean queries in a single query.

2013-07-01 Thread samabhiK
Hello friends, I have a schema which contains various types of records of three different categories for ease of management and for making a single query to fetch all the data. The fields are grouped into three different types of records. For example: fields type 1: fields type 2: field

Re: Multiple groups of boolean queries in a single query.

2013-07-01 Thread samabhiK
My entire concern is to be able to make a single query to fetch all the types of records. If I had to create three different cores for this different types of data, I would have to make 3 calls to solr to fetch the entire set of data. And I will be having approx 15 such types in real. Also, at any

Is cache useful for my scenario?

2013-04-16 Thread samabhiK
Hi, I am new in Solr and wish to use version 4.2.x for my app in production. I want to show hundreds and thousands of markers on a map with contents coming from Solr. As the user moves around the map and pans, the browser will fetch data/markers using a BBOX filter (based on the maps' viewport bou

Best way to design a "story and comments" schema.

2013-05-13 Thread samabhiK
Hi, I wish to know how to best design a schema to store comments in stories / articles posted. I have a set of fields: / Re: Best way to design a "story and comments" schema.
Thanks for your reply. I generally get confused by a collection and a core. But just FYI, I do have two cores at the moment - one for the users and another for the Stories. Initially I thought of adding an extra core for the Comments too but realized that it would mean multiple HTTP calls to fetch

Re: Best way to design a "story and comments" schema.

I think I got your point. So, what I will create are three cores (or collections) - one for the users, one for the stories and the last one for comments. When I need to find all the stories posted by a single user, I first need to search the stories core with a unique userid in the filter and th

Solr Faceting doesn't return values.

Hello, I have a field defined in my schema.xml like so: string is a type : When I run the query for faceting data by the city: http://XX.XX.XX.XX/solr/collection1/select?q=mm_state_code&wt=json&indent=true&facet=true&facet.field=sa_site_city I get empty result like so: { "responseHeade

Re: Solr Faceting doesn't return values.

Ok after I added debug=all to the query, I get: { "responseHeader":{ "status":0, "QTime":11, "params":{ "facet":"true", "indent":"true", "q":"mm_state_code", "debug":"all", "facet.field":"sa_site_city", "wt":"json"}}, "response":{"numFound":0,"st

Re: Solr Faceting doesn't return values.

Ok my bad. I do have a default field defined in the /select handler in the config file. explicit 10 sa_property_id But then how do I change my query now? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276p

Re: Solr Faceting doesn't return values.

Thanks for your reply. I have my request url modified like this: http://xx.xx.xx.xx/solr/collection1/select?q=TX&df=mm_state_code&wt=xml&indent=true&facet=true&facet.field=sa_site_city&debug=all Facet Filed = sa_site_city ( city wise facet) Default Filed = mm_state_code Query= TX When I run this

Re: Solr Faceting doesn't return values.

When I use your query, I get : 400 12 true mm_state_code true *mm_state_code:(**TX)* 1369244078714 all sa_site_city xml org.apache.solr.search.SyntaxError: Cannot parse '*mm_state_code:(**TX)*': Encountered " ":" ": "" at line 1, column 14. Was exp

RE: filter query from external list of Solr unique IDs

Does anything exists already in solr 4.3 to meet this usecase scenario? -- View this message in context: http://lucene.472066.n3.nabble.com/filter-query-from-external-list-of-Solr-unique-IDs-tp1709060p4070874.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr - Spatial Search for Specif Areas on Map

Hi, I am new to Solr Spatial Search and would like to understand if Solr can be used successfully for very large data sets in the range of 4Billion records. I need to search some filtered data based on a region - maybe a set of lat/lons or polygon area. is that possible in solr? How fast is it wit

Re: Solr - Spatial Search for Specif Areas on Map

David, Thanks for such a detailed response. The data volume I mentioned is the total set of records we have - but we would never ever need to search the entire base in one query; we would divide the data by region or zip code. So, in that case I assume that for a single region, we would not have m