Re: facet by update date

2016-01-24 Thread Jay Potharaju
Which is a better option facet.interval or facet.query in terms of performance? Thanks On Sun, Jan 24, 2016 at 5:04 PM, Erik Hatcher wrote: > I suggest facet.query is the way to go for a handful of buckets/ranges. > > I'm mobile so apologies for not providing some examples but something like >

Re: facet by update date

2016-01-24 Thread Erik Hatcher
I suggest facet.query is the way to go for a handful of buckets/ranges. I'm mobile so apologies for not providing some examples but something like a few of these kinds of things: facet.query={!lucene key=under_24_hours}update_date:[NOW-24HOURS TO NOW] Things get interesting if you want < 3

Re: facet by update date

2016-01-24 Thread Jay Potharaju
Thanks Pavel, I was trying it using the range faceting instead of facet.interval. Can someone comment on performance of using facet.interval with sharded index and high number of documents. Thanks J On Sun, Jan 24, 2016 at 1:09 PM, Pavel Polívka wrote: > Hi, > We are doing this via interval fac

Scripting server side

2016-01-24 Thread Vincenzo D'Amore
Hi, looking at Solr documentation I found a pretty interesting processor which is able to execute scripting languages server side. http://lucene.apache.org/solr/5_4_0/solr-core/org/apache/solr/update/processor/StatelessScriptUpdateProcessorFactory.html As far as I understood, this is useful only

Re: Read time out exception - exactly 10 minutes after starting committing

2016-01-24 Thread Shawn Heisey
On 1/23/2016 9:24 PM, adfel70 wrote: > 1. I am getting the "read time out" from the Solr Server. > Not from my client, but from the server client when it tries to reach other > instances while committing. > > 2. I reduced the filter cache autowarmCount to 512, and seems to fix the > problem. It now

Re: facet by update date

2016-01-24 Thread Pavel Polívka
Hi, We are doing this via interval facet: Something like this: facet=on& facet.interval=update_date& facet.interval.set=[NOW-1DAY,NOW]& facet.interval.set=[NOW-3DAY,NOW-1DAY)& facet.interval.set=[NOW-7DAY,NOW-3DAY)& facet.interval.set=[NOW-1MONTH,NOW-7DAY)& facet.interval.set=[NOW-1YEAR,NOW-1MONTH

Solr Replication error

2016-01-24 Thread Yago Riveiro
I cached this in my logs. Any reason to this happen? My Solr version is 5.3.1. Index fetch failed :org.apache.solr.common.SolrException: Index fetch failed : at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:515) at org.apache.solr.handler.IndexFetcher.fe

Re: collection aliasing

2016-01-24 Thread Susheel Kumar
As Jens mentioned you use aliasing for referring to a group of collections. E.g. below command you can create a alias called quarterly for 3 separate collections Jan,Feb & Mar and then you can use alias quarterly to refer all of them in single query http:// :8983/solr/admin/collections?action=CREA

facet by update date

2016-01-24 Thread Jay Potharaju
Hi, I am trying to calculate facet for update_date of the document. And would like to get the following values - < 24 Hrs - < 3 days - < 1 week - < 1 month - < 6 months - <1 year The above facet values should change every time someone queries, therefore a document that was updated today will s

Re: One complex wildcard query lead solr OOM

2016-01-24 Thread Jack Krupansky
Just escape them with a backslash. Or put each term in quotes. -- Jack Krupansky On Sun, Jan 24, 2016 at 5:21 AM, Jian Mou wrote: > Hi Jack, > > Thanks! Do you know how to disable wildcards, What I want is if input is > wildcards, just treat it as a normal char. I other words, > I just want to

Re: POST request on slave server & error (Urgent )

2016-01-24 Thread Binoy Dalal
{Solr_dist}/server/logs/solr.log On Sun, 24 Jan 2016, 20:12 Midas A wrote: > Shawn, > where can i see solr these solr log. > > On Fri, Jan 22, 2016 at 8:54 PM, Shawn Heisey wrote: > > > On 1/22/2016 1:14 AM, Midas A wrote: > > > Please anybody tell me what these request are doing . Is it applic

Re: collection aliasing

2016-01-24 Thread Jens Brandt
Hi, you may, for instance, create one alias for several collections in order to search all of them in one request. Another possibility is to use an alias to switch between collections. Jens > Am 24.01.2016 um 13:44 schrieb vidya : > > Yeah, while querying and indexing also, we can directly u

Re: POST request on slave server & error (Urgent )

2016-01-24 Thread Midas A
Shawn, where can i see solr these solr log. On Fri, Jan 22, 2016 at 8:54 PM, Shawn Heisey wrote: > On 1/22/2016 1:14 AM, Midas A wrote: > > Please anybody tell me what these request are doing . Is it application > > generated error or part of solr master -slave? > > > > > > > > b) > > 10.20.73.

Re: collection aliasing

2016-01-24 Thread vidya
Yeah, while querying and indexing also, we can directly use our collection names. Then what is the use of aliasing ? -- View this message in context: http://lucene.472066.n3.nabble.com/collection-aliasing-tp4252527p4252885.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: One complex wildcard query lead solr OOM

2016-01-24 Thread Erik Hatcher
One option is to use the dismax (not edismax) as it does not support wild card queries. Erik > On Jan 24, 2016, at 05:21, Jian Mou wrote: > > Hi Jack, > > Thanks! Do you know how to disable wildcards, What I want is if input is > wildcards, just treat it as a normal char. I other words

Re: One complex wildcard query lead solr OOM

2016-01-24 Thread Jian Mou
Hi Jack, Thanks! Do you know how to disable wildcards, What I want is if input is wildcards, just treat it as a normal char. I other words, I just want to disable wildcard search. Thanks, Jian On Fri, Jan 22, 2016 at 1:55 PM, Jack Krupansky wrote: > The Lucene WildcardQuery class does have an