RE: Store 2 dimensional array( of int values) in solr 4.0

2013-09-06 Thread A Geek
s a BSON blob or JSON string > if all you want is to store and retrieve it in its entirety without querying > its internal structure. And note that Lucene queries are field level - does > a field contain or match a scalar value. > > -- Jack Krupansky > > -Original Mess

Store 2 dimensional array( of int values) in solr 4.0

2013-09-06 Thread A Geek
hi All, I'm trying to store a 2 dimensional array in SOLR [version 4.0]. Basically I've the following data: [[20121108, 1],[20121110, 7],[2012, 2],[20121112, 2]] ... The inner array being used to keep some count say X for that particular day. Currently, I'm using the following field to stor

Segments count increased to around 7200, index remains unoptimized

2013-07-12 Thread A Geek
Hi All, I'm running SOLR 4.0 on a Linux machine with around 30GB RAM. I've 2 cores running under solr as belowCore AA: around 30 GB data , segments count = 30Core BB: around 216 GB data, segments count=300 Solr is running through jetty and I've allocated max of 12GB heap memory through java like

How to show just the parent domains from results in Solr

2013-07-02 Thread A Geek
hi All, I've indexed documents in my Solr 4.0 index, with fields like URL, page_content etc. Now when I run a search query, against the page_content I get a lot of urls . And say, if I in total 15 URL domains, and under these 15 domains I've all the pages indexed in SOLR. Is there a way in whic

How to optimize live production server SOLR Index

2013-03-30 Thread A Geek
Hi All, I'm pretty new to SOLR. Currently I'm using SOLR 4.0 version and we've two indexes one with size around 30Gig and another with size 180 Gig . Each contains more than a million records. I was wondering what is the best way to optimize the Index, and keep serving to user request and also w

How to combine Date range query with negation query

2013-03-10 Thread A Geek
Hi All, I'm trying to run a query against the following fields: and against For majority of the documents the author_location is default i.e. "unset" . I want to run a query where the author_location has got some value other than "unset" and the created_at field is greater a given t

how to specify default sort fields in solr schema?

2012-10-03 Thread A Geek
Hi all, Is there a way to specify the default sort fields in the solr schema in 3.6 or 4.0Beta? similar to the default search operator. Like, the default search operator can be set to "OR" and only when you want to override you pass it in the search URL as "AND". I have lots of fields related t