Retrieving and updating large set of documents on Solr 4.7.2

2014-08-17 Thread deniz
0 down vote favorite I am trying to implement an activity feed for a website, and planning to use Solr for this case. As it does not have any follower/following relation, Solr is fitting for the requirements. There is one point which makes me concerned about performance. So as user A, I

Re: Monit cannot connect to Solr/Jetty instance

2014-08-17 Thread Matt Coneybeare
Aha! It took me awhile to find it based on your response,  but I needed to do /solr/myappname/admin/ping for my setup’s needs. Thanks for the response On August 17, 2014 at 7:39:34 PM, Erik Hatcher (erik.hatc...@gmail.com) wrote: /admin/ping was designed for just this purpose. Erik On Au

Re: Monit cannot connect to Solr/Jetty instance

2014-08-17 Thread Erik Hatcher
/admin/ping was designed for just this purpose. Erik On Aug 17, 2014, at 6:52 PM, Matt Coneybeare wrote: > Hi Solr Experts, > > I have been having an issue with monit connecting to a jetty/solr instance. > To save space and bytes, I will link to my Server Fault question instead of

Re: Selectively setting the number of returned SOLR rows per field based on field value

2014-08-17 Thread Erick Erickson
Aurélien is correct, for the exact behavior you're looking for you'd need to run w queries. But you might be able to make do with field collapsing. You'd probably have to copyField from title to title_grouping which would be un-analyzed (string type or KeywordTokenizer), then group on _that_ field

Monit cannot connect to Solr/Jetty instance

2014-08-17 Thread Matt Coneybeare
Hi Solr Experts, I have been having an issue with monit connecting to a jetty/solr instance. To save space and bytes, I will link to my Server Fault question instead of duplicating the content here. Please help! http://serverfault.com/questions/620728/monit-cannot-connect-to-solr-jetty-instance

Re: Selectively setting the number of returned SOLR rows per field based on field value

2014-08-17 Thread Aurélien MAZOYER
I am afraid you can't. I think your problem is linked to this issue that is still unresolved : https://issues.apache.org/jira/browse/SOLR-1093 Aurélien Le 17/08/2014 23:16, talt a écrit : I have a field in my SOLR index, let's call it book_title. A query returns 15 rows with book_title:"The

Selectively setting the number of returned SOLR rows per field based on field value

2014-08-17 Thread talt
I have a field in my SOLR index, let's call it book_title. A query returns 15 rows with book_title:"The Kite Runner", 13 rows with book_title:"The Stranger", and 8 rows with book_title:"The Ruby Way". Is there a way to return only the first row of "The Kite Runner" and "The Stranger", but all of

Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread Yonik Seeley
On Sun, Aug 17, 2014 at 7:27 AM, dhimant wrote: > Hi Yonik, > Thanks for the reply. > But i want a unique function on my binary column. This column contains > binary representation of java hashset. Ah, got it... hopefully it's your own binary format and not Java serialization (the latter would b

Re: Solr cloud performance degradation with billions of documents

2014-08-17 Thread Erick Erickson
bq: I am interested in knowing, when you have multiple collections like this case (60), and you just query one collection, Yes.. and no. You're correct about OS memory swapping in and out, but the JVM memory is a different matter. There'll be some low-level caches filled up. Each collection may ha

Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread dhimant
Hi Yonik, Thanks for the reply. But i want a unique function on my binary column. This column contains binary representation of java hashset. I found stat functions available @ following location. https://github.com/apache/lucene-solr/tree/trunk/solr/core/src/java/org/apache/solr/analytics/statist

Re: Custom stat aggregation and sorting function in solr

2014-08-17 Thread Yonik Seeley
On Sun, Aug 17, 2014 at 2:35 AM, dhimant wrote: > I want to add a new stat > function (UniqueUsers(fieldName) like add/avg function already available in > Solr) to find the unique across searched Solr records. Heliosearch (a solr fork) has this: http://heliosearch.org/solr-facet-functions/ facet

Custom stat aggregation and sorting function in solr

2014-08-17 Thread dhimant
Please provide suggestion/example to create a custom stat[Aggregate] function in the Solr. Every document in Solr is having 30 String, 10 int and 1 binary[hashset to store unique users] fields. I want to add a new stat function (UniqueUsers(fieldName) like add/avg function already available in Solr

Re: explaination of query processing in SOLR

2014-08-17 Thread Jack Krupansky
In any case, besides the raw code and the similarity Javadoc, Lucene does have Javadoc for "file formats": http://lucene.apache.org/core/4_9_0/core/org/apache/lucene/codecs/lucene49/package-summary.html -- Jack Krupansky -Original Message- From: Aman Tandon Sent: Sunday, August 17, 20

Re: explaination of query processing in SOLR

2014-08-17 Thread Aman Tandon
I think you is confused with the extension for files created for lucene index. Those files does not play crucial role in search. I will suggest you to first setup the solr, index some files, then you should apply various features like faceting, etc. Then you also understand the significance of sche