Re: Peronalized Search Results or Matching Documents to Users

2015-07-31 Thread Umesh Prasad
Building on to Upayavira's comment : This is a join problem. There are 2 more approaches : 1. Solr PostFilter based approach. A sample filter can be found here . At a very basic level it injects a interceptor collector in

Re: Do not match on high frequency terms

2015-07-31 Thread Ahmet Arslan
Hi Steve, More like this (mlt) has mlt.mindf parameter, you can create a custom solr plugin inspired from it. At lucene level, you can access df with : org.apache.lucene.search.IndexSearcher#termStatistics Ahmet On Friday, July 31, 2015 11:31 PM, "Swedish, Steve" wrote: Hello, I'm hoping som

Re: Peronalized Search Results or Matching Documents to Users

2015-07-31 Thread Upayavira
How soon? And will you be able to use them for querying, or just faceting/sorting/displaying? Thx! Upayavira On Fri, Jul 31, 2015, at 09:27 PM, Erick Erickson wrote: > And coming soon will be docvalues field updates that don't require > reindexing the whole doc. > > Best, > Erick > On Jul 31, 2

Do not match on high frequency terms

2015-07-31 Thread Swedish, Steve
Hello, I'm hoping someone might be able to help me out with this as I do not have very much solr experience. Basically, I am wondering if it is possible to not match on terms that have a document frequency above a certain threshold. For my situation, a stop word list will be unrealistic to main

Re: Peronalized Search Results or Matching Documents to Users

2015-07-31 Thread Erick Erickson
And coming soon will be docvalues field updates that don't require reindexing the whole doc. Best, Erick On Jul 31, 2015 6:51 AM, "Upayavira" wrote: > On Thu, Jul 30, 2015, at 07:29 PM, Shawn Heisey wrote: > > On 7/30/2015 10:46 AM, Robert Farrior wrote: > > > We have a requirement to be able to

Re: spread index not equally each sharding

2015-07-31 Thread Erick Erickson
How did you create your collection? And let's see an example of to be sure you aren't doing any explicit routing, denoted by a bang (!). If you used implicit routing that's another possibility. Best, Erick On Jul 31, 2015 1:26 PM, "Upayavira" wrote: > Yes, a 32 bit murmur3 hash is taken of the I

Tips for Shard recovery?

2015-07-31 Thread Matt Kuiper
Hello, Wondering if there are any tips on how to recover a shard when all nodes are down for a shard and ZK cannot find a leader ( clusterstate.json has no replica marked as leader for a shard)? Bouncing the nodes does not seem to help. Seems like I need to reset the clusterstate Running

Re: spread index not equally each sharding

2015-07-31 Thread Upayavira
Yes, a 32 bit murmur3 hash is taken of the ID field. Each of your three shards is assigned a third of the 0-2^32 range. The document is then sent to the shard who's range contains the hash of the ID. Maybe your IDs don't create an even distribution of hashes (look at your maxdocs for each shard) o

Re: Lock obtain timed out while doing indexing in solr 3.6

2015-07-31 Thread Upayavira
Solr 3.6 is very old - I don't expect that many people here will have current knowledge about it. What it *looks* like to me is that you have hard stopped Solr - i.e. kill -9 or something, and then when you attempt to restart it, it can't do so because the lock file is in place. With Solr stopped,

Re: Lock obtain timed out while doing indexing in solr 3.6

2015-07-31 Thread sudeepgarg
Please look into this. -- View this message in context: http://lucene.472066.n3.nabble.com/Lock-obtain-timed-out-while-doing-indexing-in-solr-3-6-tp4220063p4220082.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: spread index not equally each sharding

2015-07-31 Thread Raja Pothuganti
As far as I know sharding is done on basis of unique key hash(by default). So most of the time, each shard will have almost equal number of documents. But each of document my have different size which can show up as different index size per shard. Thanks On 7/31/15, 5:49 AM, "wilanjar ." wrote:

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-31 Thread PeterKerk
Hey Alessandro, Can you help me? :) Thank you! -- View this message in context: http://lucene.472066.n3.nabble.com/Use-faceted-search-to-drill-down-in-hierarchical-structure-and-omit-node-data-outside-current-selectn-tp4219384p4220080.html Sent from the Solr - User mailing list archive at Nab

Re: Peronalized Search Results or Matching Documents to Users

2015-07-31 Thread Upayavira
On Thu, Jul 30, 2015, at 07:29 PM, Shawn Heisey wrote: > On 7/30/2015 10:46 AM, Robert Farrior wrote: > > We have a requirement to be able to have a master product catalog and to > > create a sub-catalog of products per user. This means I may have 10,000 > > users who each create their own list of

spread index not equally each sharding

2015-07-31 Thread wilanjar .
hi folks, I'm new joiner in this milis and have question about amount of index in sharding. i have 3 sharding on collection, but capacity index in each sharding not equally or near each other. this below is example : du -sh shard1_replica12/ *1.1Gshard1_replica12/* du -sh shard2_replica12/ *

How to upgrade SOLR from 4.0 to 5.1 on Windows

2015-07-31 Thread sangeetha.subraman...@gtnexus.com
Hi, I would like to know how to upgrade SOLR from version 4 to 5.1. I did find the below wiki links which says what are the changes available. https://cwiki.apache.org/confluence/display/solr/Upgrading+Solr https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5 Apar

Exceptions in Tomcat - Master Server

2015-07-31 Thread sangeetha.subraman...@gtnexus.com
Hi All, We have SOLR 4.1 Master and Replica setup using Tomcat service . Lately I am seeing below two exceptions in Master server logs. *Socket Connection org.apache.solr.handler.ReplicationHandler$DirectoryFileStream write WARNING: Exception while writing response for params: file=_aq

RE: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-31 Thread sangeetha.subraman...@gtnexus.com
Thanks Yonik and Shawn. 8000-7fff change worked. Thanks Sangeetha -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 29 July 2015 18:39 To: solr-user@lucene.apache.org Subject: Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux On 7/28/2015 5:10 PM, Yon

Lock obtain timed out while doing indexing in solr 3.6

2015-07-31 Thread sudeepgarg
I am getting below exception in catalina.out file while doing indexing solr 3.6 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/var/solr/xxxcore/data/index/write.lock This is setting of my solrconfig.xml for this core native false

Mass update/delete of field for multiple records

2015-07-31 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.2.1, and I would like to do a mass update/delete of a field with similar words in multiple records in the same collection. For example, I would like to delete all the tags that starts with "test" in the entire collection. I tried using this query: http://localhost:8983/edm/c

multiple but identical suggestions in autocomplete

2015-07-31 Thread Szűcs Roland
Hello Guys, I use SOLR 5.2.1 and the relatively new solr.SuggestComponent. It worked fine at the beginning. I use this function to auto-complete the publisher names. I have 3000 documents and 80 publishers. When I use the autocomplete feature and I get back the name of the publishers matched as ma