Re: ttl on merge-time possible somehow ?

2016-12-20 Thread Dorian Hoxha
On Mon, Dec 19, 2016 at 7:03 PM, Chris Hostetter wrote: > > : So, the other way this can be made better in my opinion is (if the > : optimization is not already there) > : Is to make the 'delete-query' on ttl-documents operation on translog to > not > : be forced to fsync to disk (so still wr

Do I need a replication factor if I run an Hadoop file system?

2016-12-20 Thread GW
Dear Users, I'm in the process of making an app cluster aware and getting ready for deployment. I've been looking at running an Hadoop file system. If I have fault tolerance at the file system it seems that I would be creating a ton of extra drive i/o to do replication. Am I correct in this assum

Re: Stop Solr Node (in distress)?

2016-12-20 Thread Susheel Kumar
You can detect your node in distress by using different tools like Monit ( https://mmonit.com/monit/ open source) which alerts by email when disk space utilization goes above a threshold or memory usage goes above threshold etc. You can also have Monit to restart Solr process in some of those situ

Re: Filter queries & caching

2016-12-20 Thread Alessandro Benedetti
Hi Erick, just thinking on this : 1) "q=myclause AND filter(field:value) is identical to 2) q=myclause&fq=field:value" Correct me if I am wrong, those two queries , from filter caching point of view are identical, but from scoring point of you : 1) will score only the documents resulting from

Re: Stop Solr Node (in distress)?

2016-12-20 Thread Charlie Hull
On 20/12/2016 01:56, Brian Narsi wrote: We have had a situation where Solr node was in distress due to hard drive being full and the queries became very slow. Since our Solr cluster has two nodes with indexes being fully available on both the nodes, we think that one good solution would be to jus

ClassCastException: BasicResultContext cannot be cast to SolrDocumentList

2016-12-20 Thread Yago Riveiro
I'm hitting this exception in 6.3.0, any ideas? null:java.lang.ClassCastException: org.apache.solr.response.BasicResultContext cannot be cast to org.apache.solr.common.SolrDocumentList at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:315) at o

Re: Soft commit and reading data just after the commit

2016-12-20 Thread Shawn Heisey
On 12/19/2016 7:12 PM, Lasitha Wattaladeniya wrote: > *Requirement *is, we are showing a list of entries on a page. For each > user there's a read / unread flag. The data for listing is fetched > from solr. And you can see the entry was previously read or not. So > when a user views an entry by cli

Re: Filter queries & caching

2016-12-20 Thread Erick Erickson
So by adding &debug=query to the q=features:electronics&&fq=name:samsung I get these two bits back: "parsedquery_toString":"features:electronics", "parsed_filter_queries":["name:samsung"]}} Which I do find a bit suprising, but I'd guess there's some clever processing whereby the two && bi

Re: Do I need a replication factor if I run an Hadoop file system?

2016-12-20 Thread Erick Erickson
It depends (tm). For fault tolerance, probably not. For handling an increased QPS rate (query, not update) maybe, maybe not, you haven't given any idea what your SLAs are for queries. Best, Erick On Tue, Dec 20, 2016 at 5:03 AM, GW wrote: > Dear Users, > > I'm in the process of making an app c

Re: ClassCastException: BasicResultContext cannot be cast to SolrDocumentList

2016-12-20 Thread Yonik Seeley
This is a bug (that code should no longer be expecting a SolrDocumentList) Can you open a JIRA issue? -Yonik On Tue, Dec 20, 2016 at 12:02 PM, Yago Riveiro wrote: > I'm hitting this exception in 6.3.0, any ideas? > > null:java.lang.ClassCastException: > org.apache.solr.response.BasicResultConte