Solr logging in local time

2015-11-16 Thread tedsolr
Is it possible to define a timezone for Solr so that logging occurs in local time? My logs appear to be in UTC. Due to daylight savings, I don't think defining a GMT offset in the log4j.properties files will work. thanks! Ted v. 5.2.1 -- View this message in context:

Expand Component Fields Response

2015-11-16 Thread Sanders, Marshall (AT - Atlanta)
Is it possible to specify a separate set of fields to return from the expand component which is different from the standard fl parameter? Something like this: fl=fielda=fieldb Our current use case means we actually only care about the numFound from the expand component and not any of the

Re: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Erick Erickson
Having 6 warming serachers is an anti-pattern. What it means is that commits are happening faster than your searcher can be opened. There is _no_ good reason that I know of for changing it from 2, having changed it in solrconfig.xml to 6 almost always indicates an improper configuration. Places

Re: StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-16 Thread Scott Stults
Hi Derek, Could you please add what version of Solr you see this in? I didn't see a related Jira, so this might warrant a new one. k/r, Scott On Sun, Nov 15, 2015 at 11:01 PM, Derek Poh wrote: > Hi > Iam using spellcheck and synonyms.I am getting >

Re: Solr 5.3 spellcheck always return lower case?

2015-11-16 Thread Alessandro Benedetti
Hi QuestionNews, can you send us the schema.xml and the field involved in the problem ? I agree with Erick, are you sure your field type doesn't do any lowercasing ? Cheers On 13 November 2015 at 13:39, QuestionNews . wrote: > The data displayed when doing a query is

Re: Boost query at search time according set of roles with least performance impact

2015-11-16 Thread Alessandro Benedetti
is the readability that is stopping you to use the bq parameter with all your roles ? A custom function is off course a way, but why you think is going to satisfy better your requirement in comparison with the bq ? Cheers On 13 November 2015 at 18:41, Andrea Open Source <

Re: Solr logging in local time

2015-11-16 Thread Walter Underwood
I’m sure it is possible, but think twice before logging in local time. Do you really want one day with 23 hours and one day with 25 hours each year? wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Nov 16, 2015, at 8:04 AM, tedsolr

Re: CloudSolrCloud - Commit returns but not all data is visible (occasionally)

2015-11-16 Thread Erick Erickson
maxwarmingsearchers is not going to help, and in fact may indicate your problem. I suspect that your autowarming is taking a long time _and_ the commit call is timing out rather than returning. Your Solr log should show you the autowarm times and help figure out whether this is on the right track

CloudSolrCloud - Commit returns but not all data is visible (occasionally)

2015-11-16 Thread adfel70
Hi, I am using Solr 5.2.1 with the solrj client 5.2.1. (I know CloudSolrCloud is deprecated) I am running the command: *cloudSolrServer.commit(false, true, true)* the parameters are: waitFlush (false), waitSearcher (true), softCommit (true) The problem is that the client returns as if it already

RE: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Adrian Liew
Hi Emir, I am working with a third party platform, Sitecore. The product is a black box that encapsulates the internal workings of solr queries and so on. If there are any questions you have with regards with the below, let me know. It will be useful for me to communicate what could cause the

Re: DIH Caching w/ BerkleyBackedCache

2015-11-16 Thread Todd Long
Mikhail Khludnev wrote > "External merge" join helps to avoid boilerplate caching in such simple > cases. Thank you for the reply. I can certainly look into this though I would have to apply the patch for our version (i.e. 4.8.1). I really just simplified our data configuration here which

Re: Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Upayavira
Just to be sure, are you installing Solr inside a different Jetty, or using the Jetty that comes with Solr? You would be expected to use the one installed and managed by Solr. Upayavira On Mon, Nov 16, 2015, at 11:58 AM, Behzad Qureshi wrote: > Hi All, > > I am using Tomcat server with solr

Re: DIH Caching w/ BerkleyBackedCache

2015-11-16 Thread Mikhail Khludnev
On Mon, Nov 16, 2015 at 5:08 PM, Todd Long wrote: > Mikhail Khludnev wrote > > "External merge" join helps to avoid boilerplate caching in such simple > > cases. > > Thank you for the reply. I can certainly look into this though I would have > to apply the patch for our version

Re: Query gives response multiple times

2015-11-16 Thread Andrea Gazzarini
Hi Shane, If the field is multivalued and contains 8 doubles I believe it is the expected behaviour. If I misunderstood something please expand a bit. What's wrong with that response? Best, Andrea On 16 Nov 2015 19:50, "Shane McCarthy" wrote: > I am having an issue with Solr

Re: Solr logging in local time

2015-11-16 Thread tedsolr
There are more than a dozen logging sources that are aggregated into Splunk for my application. Solr is only one of them. All the others are logging in local time. Perhaps there is a Splunk centric solution, but I would like to know what the alternatives are. Anyone know how to "fix" (as in

Re: Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Ishan Chattopadhyaya
Also, what are the specific performance issues you are observing? On Mon, Nov 16, 2015 at 6:41 PM, Upayavira wrote: > Just to be sure, are you installing Solr inside a different Jetty, or > using the Jetty that comes with Solr? > > You would be expected to use the one

Query gives response multiple times

2015-11-16 Thread Shane McCarthy
I am having an issue with Solr and want to know if this is the usual behaviour. I query the database and receive a response which has the value of the field I requested repeated 8 times. The field is a multivalued and contains doubles. Is their something I could add to the schema.xml to remedy

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
I would check for copyField into that target field or something in UpdateRequestProcessors (in solrconfig.xml) that copies into that field. Baring those two, the field should return what you put into it. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
I am using an instance of Islandora. The database is housed on a server I don't have access to. Hopefully it is moved soon, But this is the url I make the request with. The query url is '

Re: Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Timothy Potter
I hope 256MB of Xss is a typo and you really meant 256k right? On Mon, Nov 16, 2015 at 4:58 AM, Behzad Qureshi wrote: > Hi All, > > I am using Tomcat server with solr 4.10.3. I want to shift to Jetty as > replacement of Tomcat server but I am not getting

Solr/jetty and datasource

2015-11-16 Thread fabigol
Hi, I want to use a datasource for my security module. Mais i don't know where i must declare it. I try declaration in jetty.xml locate .../etc but nothing not datasource activate here my environment declaration:

Re: Query gives response multiple times

2015-11-16 Thread Shane McCarthy
Thank you for the quick responses. @Andrea Gazzarini The field can have one or eight doubles in it. However, the response of the query has 8 doubles and 64 doubles respectively. The values are repeated 8 times. @Alexandre Rafalovitch Thanks for the link. I am just getting started using Solr

Re: Solr logging in local time

2015-11-16 Thread Alexandre Rafalovitch
The logging format is defined by log4j properties. Looking at Solr 5.3.1, we are using EnhancedPatternLayout, which apparently supports just putting the timezone in braces after the date format: http://stackoverflow.com/questions/9116425/apache-log4j-logging-with-specific-timezone I'd try that as

Re: Solr/jetty and datasource

2015-11-16 Thread fabigol
I try WEB-INF/jetty-env.xml too nothing too -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-jetty-and-datasource-tp4240426p4240427.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr logging in local time

2015-11-16 Thread tedsolr
There is a property for timezone. Just set that in solr.in.sh and logging will use it. The default is UTC. SOLR_TIMEZONE="EST" -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-logging-in-local-time-tp4240369p4240434.html Sent from the Solr - User mailing list archive

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
What does the query looks like that you get this? And is it exactly the same value 8 times? Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 16 November 2015 at 15:32, Shane McCarthy wrote: > Thank you for the quick

RE: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Adrian Liew
Thanks Eric. Here is my reply >> 1> that commits are happening too often, and especially if the commits >> are happening >> from a client. If commits aren't being sent by a client, then look at >> autoCommit and softAutoCommit in solrconfig.xml (if you can). Understand what you mean. Besides

Re: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Erick Erickson
Here's perhaps more than you really want to know about commits https://lucidworks.com/blog/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ The short form is that most setups set autoCommit to a relatively short interval (15-60 seconds at least under heavy

Re: Query gives response multiple times

2015-11-16 Thread Alexandre Rafalovitch
On 16 November 2015 at 17:40, Shane McCarthy wrote: > I am using an instance of Islandora. Ah. This complicates the situation as there is an unknown - to most of us - layer in between. So, it is not clear whether this multiplication is happening in Solr or in Islandora. Your

Re: StringIndexOutOfBoundsException using spellcheck and synonyms

2015-11-16 Thread Derek Poh
Hi Scott I amusing Solr 4.10.4. On 11/16/2015 10:06 PM, Scott Stults wrote: Hi Derek, Could you please add what version of Solr you see this in? I didn't see a related Jira, so this might warrant a new one. k/r, Scott On Sun, Nov 15, 2015 at 11:01 PM, Derek Poh

Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Behzad Qureshi
Hi All, I am using Tomcat server with solr 4.10.3. I want to shift to Jetty as replacement of Tomcat server but I am not getting any good results with respect to performance. I have tried solr 4.10.3 on both Jetty 8 and Jetty 9 with java 8. Below are configurations I have used. Can anyone please

how to join search mutiple collection in sorlcloud

2015-11-16 Thread soledede_w...@ehsy.com
Dear @solr_lucene currently,I am using solr5.3.1,I have a requirement, I need search like in relation database(select * from A ,B where A.id=B.id),Can we implments with solr5.3 in SolrCloud mode,I have two collection,2 shards per collection. Help me please. Thanks

Re: Solr logging in local time

2015-11-16 Thread Shawn Heisey
On 11/16/2015 9:04 AM, tedsolr wrote: > Is it possible to define a timezone for Solr so that logging occurs in local > time? My logs appear to be in UTC. Due to daylight savings, I don't think > defining a GMT offset in the log4j.properties files will work. I noticed this today when I upgraded

Re: how to join search mutiple collection in sorlcloud

2015-11-16 Thread Erick Erickson
In a word, no. At least probably not. There are some JIRA tickets dealing with distributed joins, and some with certain restrictions, specifically if the second (from) collection can be reproduced on every slice of the first (to) collection. In the trunk (6.0), there's the ParallelSQL stuff

RE: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Adrian Liew
Thanks for the tip Eric. Really useful article to know. I will keep you posted on my findings! Regards, Adrian -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Tuesday, November 17, 2015 8:56 AM To: solr-user Subject: Re: Solr

Re: Re: how to join search mutiple collection in sorlcloud

2015-11-16 Thread soledede_w...@ehsy.com
Thanks Erick I think if can use hash for doc_id to all shards, then do join,Last merge the result in a node. soledede_w...@ehsy.com From: Erick Erickson Date: 2015-11-17 11:10 To: solr-user Subject: Re: how to join search mutiple collection in sorlcloud In a word, no. At least probably not.

Re: Solr Cloud 5.3.0 Errors in Logs

2015-11-16 Thread Emir Arnautovic
Hi Adrian, Can you give us bit more details about warmup queries you use and test that you are running when error occurs. Thanks, Emir On 16.11.2015 08:40, Adrian Liew wrote: Hi there, Will like to get some opinions on the errors encountered below. I have currently setup a SolrCloud

Re: Best way to track cumulative GC pauses in Solr

2015-11-16 Thread Tom Evans
On Fri, Nov 13, 2015 at 4:50 PM, Walter Underwood wrote: > Also, what GC settings are you using? We may be able to make some suggestions. > > Cumulative GC pauses aren’t very interesting to me. I’m more interested in > the longest ones, 90th percentile, 95th, etc. > Any

Re: Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Behzad Qureshi
Upayavira:: Just to be sure, are you installing Solr inside a different Jetty, or using the Jetty that comes with Solr? *Behzad:: *Jetty that comes with solr. Jetty-8.1.10.v20130312 Embedded Solr 4.10.3 Also used Jetty9 but not embedded. Tried solr 4.10.3 with Jetty 9 but still facing same

Error in log after upgrading Solr

2015-11-16 Thread Shawn Heisey
I have upgraded from 5.2.1 to a 5.3.2 snapshot -- the lucene_solr_5_3 branch plus the patch for SOLR-6188. I'm getting errors in my log every time I make a commit on a core. 2015-11-16 20:28:11.554 ERROR (searcherExecutor-82-thread-1-processing-x:sparkinclive) [ x:sparkinclive]

Undo Split Shard

2015-11-16 Thread kiyer_adobe
We had 32 shards of 30GB each. The query performance was awful. We decided to split shards for all of them. Most of them went fine but for 3 shards that got split with _1 to 16GB but _0 in low MB's. The _1 is fine but _0 is definitely wrong. The parent shard is inactive and now the split shards

Re: Re: how to join search mutiple collection in sorlcloud

2015-11-16 Thread Paul Blanchaert
You might want to take a look at/follow up upon SOLR-8297 On Tue, 17 Nov 2015 at 04:14 soledede_w...@ehsy.com wrote: > > Thanks Erick > > I think if can use hash for doc_id to all shards, then do join,Last merge > the