Re: Getting repeated Error - RunExecutableListener java.io.IOException

2019-02-14 Thread Jan Høydahl
Yes we need more details. I wonder why you have configured the RunExecutableListener in your solrconfig.xml and why you have told it to execute Linux commands on Windows. RunExecutableListener is removed in later Solr versions due to security concerns so you should anyway move away from it. It

Getting repeated Error - RunExecutableListener java.io.IOException

2019-02-14 Thread Hemant Verma
We have Sitecore and Solr setup. Solr is running on windows. Below errors are repeatedly appearing in logs. o.a.s.c.RunExecutableListener java.io.IOException: Cannot run program "sh" (in directory "\bin"): CreateProcess error=2, The system cannot find the file specified

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-14 Thread Zheng Lin Edwin Yeo
Hi, For your info, this issue is occurring in Solr 7.7.0 as well. Regards, Edwin On Tue, 12 Feb 2019 at 00:10, Zheng Lin Edwin Yeo wrote: > Hi, > > Should we report this as a bug in Solr? > > Regards, > Edwin > > On Fri, 8 Feb 2019 at 22:18, Zheng Lin Edwin Yeo > wrote: > >> Hi Paul, >> >>

Re: solr cloud version upgrade 7.6 to 7.7 collection indexes all marked as down

2019-02-14 Thread Zheng Lin Edwin Yeo
Hi, Which version of zookeeper are you using? Also, if you tried to query the index, did you get any error message? Regards, Edwin On Fri, 15 Feb 2019 at 02:34, Jeff Courtade wrote: > Hi, > > I am working n doing a simple point upgrade from solr 7.6 to 7.7 cloud. > > 6 servers > 3

Re: Migrate from sol 5.3.1 to 7.5.0

2019-02-14 Thread ramyogi
Do we need to reindex if we change synonymQueryStyle values for a fieldType ? I hope not. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Migrate from sol 5.3.1 to 7.5.0

2019-02-14 Thread ramyogi
Hi Eric, Found the reason and all shard request to go /select flow solves the problem. Regarding In SOLR 7 when relevancy added for the search it is not working (not expected results) for the above fieldtype but same works fine for /select because it uses Lucene Parser but our flow uses

Re: edismax: sorting on numeric fields

2019-02-14 Thread Gus Heck
Hi Niclolas, Solr has no difficulty sorting on numeric fields if they are indexed as a numeric type. Just use "=weight asc" If you're field is indexed as text of course it won't sort properly, but then you should fix your schema. -Gus On Thu, Feb 14, 2019 at 4:10 PM David Hastings wrote: >

Under-utilization during streaming expression execution

2019-02-14 Thread Gus Heck
Hi Folks, I'm looking for ideas on how to speed up processing for a streaming expression. I can't post the full details because it's customer related, but the structure is shown here: https://imgur.com/a/98sENVT What that does is take the results of two queries, join them and push them back into

SolrCloud exclusive features

2019-02-14 Thread Arnold Bronley
Hi, Are there any features that are only exclusive to SolrCloud? e.g. when I am reading Streaming Expressions documentation, first sentence there says 'Streaming Expressions provide a simple yet powerful stream processing language for Solr Cloud.' So, does this mean that streaming expressions

Re: edismax: sorting on numeric fields

2019-02-14 Thread David Hastings
Not clearly understanding your question here. if your query is q=kind:animal weight:50 you will get no results, as nothing matches (assuming a q.op of AND) On Thu, Feb 14, 2019 at 4:06 PM Nicolas Paris wrote: > Hi > > I have a numeric field (say "weight") and I d'like to be able to get >

edismax: sorting on numeric fields

2019-02-14 Thread Nicolas Paris
Hi I have a numeric field (say "weight") and I d'like to be able to get results sorted. q=kind:animal weight:50 pf=kind^2 weight^3 would return: name=dog, kind=animal, weight=51 name=tiger, kind=animal,weight=150 name=elephant, kind=animal,weight=2000 In other terms how to deal with numeric

solr cloud version upgrade 7.6 to 7.7 collection indexes all marked as down

2019-02-14 Thread Jeff Courtade
Hi, I am working n doing a simple point upgrade from solr 7.6 to 7.7 cloud. 6 servers 3 zookeepers one simple test collection using the prepackages _default config. i stop all solr servers leaving the zookeepers up. change out the binaries and put the solr.in.sh file back in place with memory

Re: Migrate from sol 5.3.1 to 7.5.0

2019-02-14 Thread Walter Underwood
I can’t find the original post right now, but putting a load balancer in front of Zookeeper is a really bad idea. Do not do that. There is a stateful protocol between one client and one Zookeeper node. This is not a stateless protocol that you can just bounce around between servers. wunder

Re: Solr Index Size after reindex

2019-02-14 Thread David Hastings
The other thing I would be curious about is in your reindexing process, do you clear out the entire index before hand? if so perhaps there is content missing/moved On Thu, Feb 14, 2019 at 11:07 AM Erick Erickson wrote: > Basically, this is not possible ;). Therefore there's something I > don't

Re: Solr Index Size after reindex

2019-02-14 Thread Erick Erickson
Basically, this is not possible ;). Therefore there's something I don't understand There's nothing anywhere except what's in the index. By that I mean that _if_ you copy an index (the data directory and children) from one place to another, that's all there is. No information about what's in

Re: Migrate from sol 5.3.1 to 7.5.0

2019-02-14 Thread Erick Erickson
bq. 2. Did you take the solrconfig that came with 7.5 and modify it rather than copy your 5.3 solrconfig? No, We have adjusted existing 5.3.1 config when we used for couple years to SOLR 7.5.0. I don't think this is the root of your problem, but this is always suspect. Not only can the format of

Solr 7.7 UpdateRequestProcessor broken

2019-02-14 Thread Andreas Hubold
Hi, while trying to update from Solr 7.6 to 7.7 I run into some unexpected incompatibilites with UpdateRequestProcessors. The SolrInputDocument passed to UpdateRequestProcessor#processAdd does not return Strings for string fields anymore but instances of

Null Pointer Exception during periodic deletion of expired doc in solr 7.6

2019-02-14 Thread manjula potula
Hello All, We have upgraded to solr from 6.6 to 7.6 and seeing null pointer exception with DocExpirationUpdateProcessorFactory. Didn't see this issue in 6.6 version of solr. Not sure if any changes made to the updateRequestProcessorChain in 7.6 version, can anyone please help? 2019-02-14

Re: Incorrect shard placement during Collection creation in 7.6

2019-02-14 Thread Bram Van Dam
Thanks Erick, I just created SOLR-13247 and linked it to SOLR-12944. - Bram On 13/02/2019 18:31, Erick Erickson wrote: > I haven't verified, but this looks like a JIRA to me. Looks like some > of the create logic may have issues, see: SOLR-12944 and maybe link to > that JIRA?

Re: SOLR and AWS comprehend

2019-02-14 Thread Charlie Hull
On 13/02/2019 12:17, Gareth Baxendale wrote: This is perhaps more or an architecture question than dev code but appreciate collective thoughts! We are using Solr to order records and to categorise them to allow users to search and find specific medical conditions. We have an opportunity to make

Re: Migrate from sol 5.3.1 to 7.5.0

2019-02-14 Thread Jan Høydahl
You may of course ignore the warning in the UI, it is just a warning intended to help you avoid mis-configurations. But there may be side effects of placing a load balancer in between client and zk cluster, see https://stackoverflow.com/questions/30905007/load-balancer-with-zookeeper -- Jan

HDFS cache for Solr

2019-02-14 Thread Antczak, Lukasz
Hello, We are using Cloudera 5.12.1 with Solr 4.10.3. We want to store our index in memory since HDFS where the data is stored is to slow. We were trying using Solr HDFS block cache, but we are struggling with warming it to be sure that whole index is in memory after updating some documents. We

Re: Multiplicative Boosts broken since 7.3 (LUCENE-8099)

2019-02-14 Thread Mikhail Khludnev
Here's the fix proposal is attached https://issues.apache.org/jira/browse/SOLR-13126 appreciate reviews and opinions. I can push it quite soon if there's no veto. On Wed, Feb 13, 2019 at 9:59 PM Burgmans, Tom < tom.burgm...@wolterskluwer.com> wrote: > I like to bump this issue up, since this is