Re: Resetting Authentication/Authorization

2018-03-29 Thread Shawn Heisey
On 3/29/2018 8:28 PM, Terry Steichen wrote: When I set up the initial authentications and authorizations (I'm using 6.6.0 and running in cloud mode.), I call "bin/solr auth enable -credentials xxx:yyy". What does this command output?  There should definitely be something output when that

Resetting Authentication/Authorization

2018-03-29 Thread Terry Steichen
When I set up the initial authentications and authorizations (I'm using 6.6.0 and running in cloud mode.), I call "bin/solr auth enable -credentials xxx:yyy".  I then use a series of additional API calls ( to create additional users and permissions).  This creates my desired security environment

Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-03-29 Thread Raymond Xie
I am new to Solr, following Steve Rowe's example on https://github.com/apache/lucene-solr/tree/master/solr/example/films: It would be greatly appreciated if anyone can enlighten me where to start troubleshooting, thank you very much in advance. The steps I followed are: Here ya go <<

Re: Three Indexing Questions

2018-03-29 Thread Shawn Heisey
On 3/29/2018 3:59 PM, Terry Steichen wrote: > First question: When indexing content in a directory, Solr's normal > behavior is to recursively index all the files found in that directory > and its subdirectories.  However, turns out that when the files are of > the form *.eml (email), solr won't

Re: Indexing multi level Nested JSON using curl

2018-03-29 Thread Zheng Lin Edwin Yeo
Hi, Do anyone knows if we can make any change to the the split=/|/orgs in the curl URL command to achieve the indexing of the multi-level Nested JSON? Regards, Edwin On 26 March 2018 at 17:30, Zheng Lin Edwin Yeo wrote: > Hi, > > I'm trying to index the following JSON

Re: UIMA-SOLR integration

2018-03-29 Thread Mark Robinson
Thanks much Steve for the suggestions and pointers. Best, Mark On Thu, Mar 29, 2018 at 3:17 PM, Steve Rowe wrote: > Hi Mark, > > Not sure about the advisability of pursuing UIMA - I’ve never used it with > Lucene or Solr - but soon-to-be-released Solr 7.3, will include

Re: Three Indexing Questions

2018-03-29 Thread Erik Hatcher
Terry - You’re speaking of bin/post, looks like. bin/post is _just_ a simple tool to provide some basic utility. The fact that it can recurse a directory structure at all is an extra bonus that really isn’t about “Solr” per se, but about posting content into it. Frankly, (even as the

Three Indexing Questions

2018-03-29 Thread Terry Steichen
First question: When indexing content in a directory, Solr's normal behavior is to recursively index all the files found in that directory and its subdirectories.  However, turns out that when the files are of the form *.eml (email), solr won't do that.  I can use a wildcard to get it to index the

Re: WordDelimiterGraphFilter expected behaviour ?

2018-03-29 Thread Shawn Heisey
On 3/29/2018 1:48 PM, Kelvyn Scrupps wrote: > I'm using WordDelimiterGraphFilter on a field and came across a curious > additional positional "hole" generated by the filter while playing with the > analysis tool. > For input "wibble , wobble" (space either side of the comma so it's a >

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Shawn Heisey
On 3/29/2018 12:45 PM, Abhi Basu wrote: > Also, another question, where it says to copy the zoo.cfg from > /solr72/server/solr folder to /solr72/server/solr/node1/solr, should I > actually be grabbing the zoo.cfg from one of my external zk nodes? If you're using zookeeper processes that are

Re: Routing a subquery directly to the shard a document came from

2018-03-29 Thread Jeff Wartes
This gets really close: q= fl=id,subquery:[subquery],[shard] subquery.q= subquery.fq={!cache=false} +{!terms f=_root_ v=$row.id} subquery.shards=$row.[shard] The issue here is that local params aren't a thing except in a query parser, and the "shards=" param isn't a query

PreAnalyzed FieldType, and simultaneously importing JSON

2018-03-29 Thread Markus Jelsma
Hello, We want to move to PreAnalyzed FieldType to offload our very heavy analysis chain away from the search cluster, so we have to configure our fields to accept pre-analyzed tokens in production. But we use the same schema in development environments too, and that is where we use JSON

WordDelimiterGraphFilter expected behaviour ?

2018-03-29 Thread Kelvyn Scrupps
Hi First posting to list, but here goes . I'm using WordDelimiterGraphFilter on a field and came across a curious additional positional "hole" generated by the filter while playing with the analysis tool. For input "wibble , wobble" (space either side of the comma so it's a separate token),

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
Just an update. Adding hostnames to solr.xml and using "-z zk1:2181,zk2:2181,zk3:2181" worked and I can see 4 live nodes and able to create collection with 2S/2R. Thanks for your help, greatly appreciate it. Regards, Abhi On Thu, Mar 29, 2018 at 1:45 PM, Abhi Basu <9000r...@gmail.com> wrote:

Re: UIMA-SOLR integration

2018-03-29 Thread Steve Rowe
Hi Mark, Not sure about the advisability of pursuing UIMA - I’ve never used it with Lucene or Solr - but soon-to-be-released Solr 7.3, will include OpenNLP integration: * Language analysis, in the Solr reference guide:

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
Also, another question, where it says to copy the zoo.cfg from /solr72/server/solr folder to /solr72/server/solr/node1/solr, should I actually be grabbing the zoo.cfg from one of my external zk nodes? Thanks, Abhi On Thu, Mar 29, 2018 at 1:04 PM, Abhi Basu <9000r...@gmail.com> wrote: > Ok,

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
Ok, will give it a try along with the host name. On Thu, Mar 29, 2018 at 12:20 PM, Webster Homer wrote: > This Zookeeper ensemble doesn't look right. > > > > ./bin/solr start -cloud -s /usr/local/bin/solr-7.2.1/server/solr/node1/ > -p > > 8983 -z

Re: New 7.2.1 install on linux; "permission denied" on exec?

2018-03-29 Thread Shawn Heisey
On 3/28/2018 4:15 PM, hal...@xsmail.com wrote: > cd /home/test/ > wget http://apache.osuosl.org/lucene/solr/7.2.1/solr-7.2.1.tgz > tar zxvf ./solr-7.2.1.tgz > > id solr; grep solr /etc/passwd > uid=485(solr) gid=482(solr) groups=482(solr),100(users) >

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Webster Homer
This Zookeeper ensemble doesn't look right. > > ./bin/solr start -cloud -s /usr/local/bin/solr-7.2.1/server/solr/node1/ -p > 8983 -z zk0-esohad,zk1-esohad,zk3-esohad:2181 -m 8g Shouldn't the zookeeper ensemble be specified as: zk0-esohad:2181,zk1-esohad:2181,zk3-esohad:2181 You should put the

Re: Using Solr to build a product matcher, with learning to rank

2018-03-29 Thread Rahul Singh
Maybe overthinking this. There is a “more like this” feature at basically does this. Give that a try before digging deeper into the LTR methods. It may be good enough for rock and roll. -- Rahul Singh rahul.si...@anant.us Anant Corporation On Mar 28, 2018, 12:25 PM -0400, Xavier Schepler

Re: Add remote ip address in solr log

2018-03-29 Thread Rick Leir
Vince Something as simple as an Apache proxypass would help, then your Apache log would tell you. Cheers -- Rick -- Sorry for being brief. Alternate email is rickleir at yahoo dot com

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Walter Underwood
I had that problem. Very annoying and we probably should require special flag to use localhost. We need to start solr like this: ./solr start -c -h `hostname` If anybody ever forgets, we get a 127.0.0.1 node that shows down in cluster status. No idea how to get rid of that. wunder Walter

Re: MatchMode in Dismax parser

2018-03-29 Thread Shawn Heisey
On 3/29/2018 1:42 AM, iamluckysharma.0...@gmail.com wrote: Just a suggestion , Shouldn't we need to use Math.round instead of direct int when watch mode is in %, example i have 3 boolean clauses if i go for mm=50%, currently it reduce it to ~1, instead it can be ~2, another example could be

RE: Query redg : diacritics in keyword search

2018-03-29 Thread Paul, Lulu
Thanks Peter, Charlie, Shawn Makes perfect sense now. I had missed out the tokenizer from index, was present only in the query. Got rid of the preserveOriginal. Thanks & Best Regards, Lulu Paul -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 29 March 2018 15:21

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
So, in the solr.xml on each node should I set the host to the actual host name? ${host:} ${jetty.port:8983} ${hostContext:solr} ${genericCoreNodeNames:true} ${zkClientTimeout:3} ${distribUpdateSoTimeout:60} ${distribUpdateConnTimeout:6}

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Shawn Heisey
On 3/29/2018 8:25 AM, Abhi Basu wrote: "Operation create caused exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Cannot create collection ems-collection. Value of maxShardsPerNode is 1, and the number of nodes currently live or live and part of your I'm

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
Yes, only showing one live node on admin site. Checking zk logs. Thanks, Abhi On Thu, Mar 29, 2018 at 9:32 AM, Ganesh Sethuraman wrote: > may be you can check int he Admin UI --> Cloud --> Tree --> /live_nodes. To > see the list of live nodes before running. If it is

MatchMode in Dismax parser

2018-03-29 Thread iamluckysharma . 0910
Just a suggestion , Shouldn't we need to use Math.round instead of direct int when watch mode is in %, example i have 3 boolean clauses if i go for mm=50%, currently it reduce it to ~1, instead it can be ~2, another example could be when we have 5 boolean clauses and mm=75%, we get calc as

Re: Solr 7.2 cannot see all running nodes

2018-03-29 Thread Ganesh Sethuraman
may be you can check int he Admin UI --> Cloud --> Tree --> /live_nodes. To see the list of live nodes before running. If it is less than what you expected, check the Zoo keeper logs? or make sure connectivity between the shards and zookeeper. On Thu, Mar 29, 2018 at 10:25 AM, Abhi Basu

Solr 7.2 cannot see all running nodes

2018-03-29 Thread Abhi Basu
What am I missing? I used the following instructions http://blog.thedigitalgroup.com/susheelk/2015/08/03/solrcloud-2-nodes-solr-1-node-zk-setup/#comment-4321 on 4 nodes. The only difference is I have 3 external zk servers. So this is how I am starting each solr node: ./bin/solr start -cloud -s

Re: Query redg : diacritics in keyword search

2018-03-29 Thread Shawn Heisey
On 3/29/2018 5:02 AM, Paul, Lulu wrote: The keyword search Carré returns values Carré and Carre (this works well as I added the tokenizer in the schema config to enable returning of both sets of values) Now looks like we want Carre to return both Carré and Carre (and this dosen’t work.

Re: Query redg : diacritics in keyword search

2018-03-29 Thread Charlie Hull
On 29/03/2018 14:12, Peter Lancaster wrote: Hi, You don't say whether the AsciiFolding filter is at index time or query time. In any case you can easily look at what's happening using the admin analysis tool which helpfully will even highlight where the analysed query and index token match.

RE: Query redg : diacritics in keyword search

2018-03-29 Thread Peter Lancaster
Hi, You don't say whether the AsciiFolding filter is at index time or query time. In any case you can easily look at what's happening using the admin analysis tool which helpfully will even highlight where the analysed query and index token match. That said I'd expect what you want to work if

Query redg : diacritics in keyword search

2018-03-29 Thread Paul, Lulu
Hi, The keyword search Carré returns values Carré and Carre (this works well as I added the tokenizer in the schema config to enable returning of both sets of values) Now looks like we want Carre to return both Carré and Carre (and this dosen’t work. Solr only returns Carre) – any ideas on

Fwd: UIMA-SOLR integration

2018-03-29 Thread Mark Robinson
Hi All, Is it still advisable to pursue UIMA or can some one pls advise something else to check on related to SOLR and NLP? Thanks! Mark -- Forwarded message -- From: Mark Robinson Date: Wed, Mar 28, 2018 at 2:21 PM Subject: UIMA-SOLR integration To: