Problem with faceting

2015-02-06 Thread david . davila
Hello, we have been using faceting for a long time, but now I have discovered a problem that I can't understand: the issue is that in a query with 2 results, in some facet values Solr is answering that there are 4 results. But faceting only applies over the result documents, therefore I think

Graceful Shutdown/Restart of SolrCloud servers

2015-02-06 Thread Rendon, Carlos (KBB - Irvine)
I'm looking for a way to perform graceful shutdown and restarts of members of a SolrCloud. I want to perform rolling restarts for maintenance without disrupting service. Basically what is in this StackOverflow question:

Re: Query Elevation Component only elevates one document in elevateIds list

2015-02-06 Thread Joel Bernstein
Try sending the elevateIds as a comma delimited list. Joel Bernstein Search Engineer at Heliosearch On Fri, Feb 6, 2015 at 2:17 PM, Charles Sanders csand...@redhat.com wrote: Using the Query Elevation Component in solr 4.8 and the elevateIds parameter to force 3 documents to the top of the

Query Elevation Component only elevates one document in elevateIds list

2015-02-06 Thread Charles Sanders
Using the Query Elevation Component in solr 4.8 and the elevateIds parameter to force 3 documents to the top of the query results. Query and results included below. In the results, you will see only one document of the three is in the query results. It is the first document and it is marked as

Re: Unexplained leader initiated recovery after updates

2015-02-06 Thread Shalin Shekhar Mangar
This is very similar to issues: https://issues.apache.org/jira/browse/SOLR-6983 https://issues.apache.org/jira/browse/SOLR-6931 The problem is that we used to retry automatically in certain situations where it wasn't really safe to retry so we removed that ability. This made the connection reset

Re: Problem with faceting

2015-02-06 Thread Alvaro Cabrerizo
Hi David, Yes it sounds weird. Just for testing purpose, It would be nice to have the ID_bent fieldtype definition. Regards. On Fri, Feb 6, 2015 at 9:05 AM, david.dav...@correo.aeat.es wrote: Hello, we have been using faceting for a long time, but now I have discovered a problem that I

Re: Unexplained leader initiated recovery after updates

2015-02-06 Thread adfel70
any inputs on this? i'm facing the same problem.. -- View this message in context: http://lucene.472066.n3.nabble.com/Unexplained-leader-initiated-recovery-after-updates-tp4178496p4184336.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Exception while loading 2 Billion + Documents in Solr 4.8.0

2015-02-06 Thread Upayavira
Given that it is log entries, you might find it works to use a collection per day, and then use collection aliasing to query over them all. This way, you can have a different aliases that specify certain ranges (e.g. week is an alias for the last 7 or 8 day's collections). Upayavira On Thu, Feb

Re: Changing contextRoot from /solr to /

2015-02-06 Thread Andrea Gazzarini
Sorry I didn't read your email carefully: the rename workaround doesn't work if you want to publish a webapp on / On 02/06/2015 02:51 PM, Andrea Gazzarini wrote: That config parameter is within the solrCloud section while you are talking about a standalone server. The context root of a webapp

Changing contextRoot from /solr to /

2015-02-06 Thread Avanish Raju
I want to serve solr as a standalone server on a specific port, and need to change the contextRoot from /solr to / (I need to include some health checks on / which I will add to the solr.war) I've tried changing my node1/solr/solr.xml's hostContext variable to $(hostContext:) instead of

Re: Changing contextRoot from /solr to /

2015-02-06 Thread Walter Underwood
Put Apache in front of it and rewrite all the URLs. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ On Feb 6, 2015, at 6:08 AM, Andrea Gazzarini a.gazzar...@gmail.com wrote: Sorry I didn't read your email carefully: the rename workaround doesn't work if you

Re: Problem with faceting

2015-02-06 Thread Alvaro Cabrerizo
Hi, Totally agree about the schema. It couldn't be the issue. On the other hand, I made a naive test. Using the schema and the data you attached I've tried to search over the same solr instance as if it was two different shards. For example, searching for:

Re: Changing contextRoot from /solr to /

2015-02-06 Thread Alexandre Rafalovitch
The path is set in the jetty's config file, where Solr is hosted as a webapp. You can see it in the example/contexts directory in the distribution. Regards, Alex. Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 6 February 2015 at 08:15, Avanish Raju

Re: Changing contextRoot from /solr to /

2015-02-06 Thread Andrea Gazzarini
That parameter is within the solrCloud section, while you are talking about a standalone server. The context root of a webapp is not something you can configure within the webapp itself, each servlet engine / application server has its own way to do that. The simplest (but definitely no

Re: Problem with faceting

2015-02-06 Thread david . davila
Hi Alvaro, this is the definition: fieldType name=entidades class=solr.TextField analyzer type=index tokenizer class=solr.PatternTokenizerFactory pattern=#/

suggestions are not sorting on frequency using comparatorFreq=freq(Not working)

2015-02-06 Thread Nitin Solanki
http://stackoverflow.com/questions/28368378/suggestions-are-not-sorting-on-frequency-using-comparatorfreq-freqnot-working# I have created 2 nodes having *2 shards* in Solr. I am doing *spell correction technique*. I want to *sort* the *suggestions* of *query(abple)* on the basis on *frequency*.