Re: Issue: Hit Highlighting Working Inconsistently in Solr 6.6

2017-07-14 Thread David Smiley
Does hl.method=unified help any? Perhaps you need to set hl.fl? or hl.requireFieldMatch=false? (although it should default to false already) On Fri, Jul 14, 2017 at 6:52 PM Vikram Oberoi wrote: > Hi! > > Just wanted to close the loop here. > > I'm pretty sure this has

Re: Cant stop/start server

2017-07-14 Thread Erick Erickson
Hmm, looks like the pid file is located in different spots (depending) and the -p option apparently looks in the same place but the -all doesn't. Haven't tracked down why If I start by bin/solr start -s example/techproducts/configs the pid file goes in bin/solr It also goes there if I cd into

Problem accessing AdminUiServlet of Solr 4.10 in my Spring app

2017-07-14 Thread nbosecker
I've got a web project in a .war that is deployed on Tomcat. Inside that, I've got a Solr .war with an instance of Solr 4.10.4 running. Everything works fine as far as indexing/searching, but I can't access the Solr Admin UI page, and I've tried everything. I use Spring in the application, so

Re: Issue: Hit Highlighting Working Inconsistently in Solr 6.6

2017-07-14 Thread Vikram Oberoi
Hi! Just wanted to close the loop here. I'm pretty sure this has something to do with the default _text_ "catchall" field being a slightly differently type ('text_general') from all my textual fields ('text_en'). A few things I tried support that hypothesis: - Specifying fields for terms

Re: Auto commit Error - Solr Cloud 6.6.0 with HDFS

2017-07-14 Thread Joe Obernberger
Hi Shawn - had a shard go down (appears to have just dropped out of the cluster) with a similar error: 2017-07-14 20:43:04.238 ERROR (commitScheduler-65-thread-1) [c:UNCLASS s:shard87 r:core_node132 x:UNCLASS_shard87_replica1] o.a.s.u.CommitTracker auto commit

Re: CDCR - how to deal with the transaction log files

2017-07-14 Thread Varun Thacker
https://issues.apache.org/jira/browse/SOLR-11069 is tracking why is LASTPROCESSEDVERSION=-1 on the source cluster always On Fri, Jul 14, 2017 at 11:46 AM, jmyatt wrote: > Thanks for the suggestion - tried that today and still no luck. Time to > write a script to naively /

Re: How to determine the user Solr is using

2017-07-14 Thread Iridian Group
Ok one last question just so I’m clear > It should be 2) solr:solr As my install is running as a service, everything under /opt/solr should be solr:sold? Currently root:root but seems to be working correctly. My /var/solr is already solr:solr. K > On Jul 14, 2017, at 2:19 PM, Susheel Kumar

Re: Antw: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Giovanni De Stefano
Hello Rainer, Have you found the issue? If not, just to be on the safe side: 1) once you extracted the .tgz you get the folder `solr-6.0.0`, cd in it and then just 2) execute `ant eclipse` and then 3) in Eclipse do Import -> Existing Projects in the workspace -> select the `solr-6.0.0`

Re: How to determine the user Solr is using

2017-07-14 Thread Susheel Kumar
It should be 2) solr:solr On Fri, Jul 14, 2017 at 3:18 PM, Susheel Kumar wrote: > If you setup solr using install_service which comes with solr, it sets up > solr running as "solr" user. Solr is not recommended to run as root user > due to security concerns. You either

Re: How to determine the user Solr is using

2017-07-14 Thread Susheel Kumar
If you setup solr using install_service which comes with solr, it sets up solr running as "solr" user. Solr is not recommended to run as root user due to security concerns. You either launch solr as service solr start or /etc/init.d/solr start Answer to 1) Yes, you can configure solr service to

BFS with gatherNodes()

2017-07-14 Thread HoJae Jung
Hello, I am currently trying to implement a graph traversal feature across multiple shards. Is there a way of making gatherNodes() to work for infinite depth, until it reaches the leaves, as if the local graph query does? Local graph query( {!graph … } ) won’t work across shards, and nested

Re: CDCR - how to deal with the transaction log files

2017-07-14 Thread jmyatt
Thanks for the suggestion - tried that today and still no luck. Time to write a script to naively / blindly delete old logs and run that in cron. *sigh* -- View this message in context: http://lucene.472066.n3.nabble.com/CDCR-how-to-deal-with-the-transaction-log-files-tp4345062p4346138.html

Re: How to determine the user Solr is using

2017-07-14 Thread Iridian Group
OK thanks, got it. So the user the server runs under is ‘Solr’. However when I stop the server and switch to the Solr user and try to start, I get an error stating that I can’t write to the log files due to permissions. All of this Solr installs permissions are root:root. 1) If I can’t

Re: How to determine the user Solr is using

2017-07-14 Thread Susheel Kumar
The first column is the UID/user column as output of ps -ef on linux machines... On Fri, Jul 14, 2017 at 1:38 PM, Iridian Group wrote: > How do I determine which user the Solr server starts up with and is > running under? > > Thanks > > Keith Savoie > >

Re: Cant stop/start server

2017-07-14 Thread Iridian Group
REL 7.3 Apache 2.4.6 Sry, not versed enough in CLI to get your ‘find’ to work. Dropped me into a prompt of some type. Got this however. find / -name "solr-*.pid" /var/solr/solr-8983.pid Join us on facebook or twitter

Re: Cant stop/start server

2017-07-14 Thread Erick Erickson
Shouldn't be a setup or configuration issue, it should "just happen". But if this has been up and running for a long time perhaps someone "cleaned it up". Hmmm, now that I think about it the pid file must have been there if "-p " worked so I'm stumped too. What op system? The relevant part of the

How to determine the user Solr is using

2017-07-14 Thread Iridian Group
How do I determine which user the Solr server starts up with and is running under? Thanks Keith Savoie

solr-user-subscribe

2017-07-14 Thread Naohiko Uramoto
solr-user-subscribe -- Naohiko Uramoto

Re: Cant stop/start server

2017-07-14 Thread Iridian Group
Typical story, I wasn’t the admin who set it up but I’m pretty sure is was vanilla. Thanks Keith Savoie Vice President of Technology IRiDiAN GROUP Helping organizations brand & market themselves through web, print, & social media.

Re: [EXTERNAL] - Re: compiling Solr

2017-07-14 Thread Erick Erickson
Steve: Glad to hear it. BTW, I usually just attach to the server remotely from my IDE rather than try to get Solr to run inside IntelliJ, I know others run it all in the IDE though. You have to create a "remote" configuration to run, then start Solr specially (pardon me if you know all this)

Re: Cant stop/start server

2017-07-14 Thread Erick Erickson
bq: wonder why -all didn’t pick it up? Good question, I use this _all_ the time. (little joke there). The -all flag looks for various .pid files, you'll see things like: solr-8983.pid that contain the process id to kill associated with that port. Any chance these were removed or in some

Re: Solr 6.6 is trying to loading *some* (not all) cores more than once

2017-07-14 Thread Shawn Heisey
On 7/14/2017 10:48 AM, Erick Erickson wrote: > I haven't seen anything like that, unsightly indeed. > > I like the idea of the button to remove failed messages. The only > thing you see is the write lock exception, correct? > > And since you say it fails on different cores at different times that

Re: Cant stop/start server

2017-07-14 Thread Iridian Group
Ahhh well then. I did try the -all flag but it returned nothing. However an explicit -p 8983 did the trick. :) … wonder why -all didn’t pick it up? Thanks! Keith Savoie Vice President of Technology IRiDiAN GROUP Helping organizations

Re: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Erick Erickson
Rainer: Have you seen: https://wiki.apache.org/solr/HowToContribute? There's a section about using Eclipse and a couple of other IDEs. I use IntelliJ so can't help there. A number of devs use Eclipse so it should work. Please feel free to add to the docs if you find a gotcha. You can also pull

Re: Cant stop/start server

2017-07-14 Thread Atita Arora
Did you mention the port with -p Like Bin/solr stop -p 8983 Please check On Jul 14, 2017 10:35 PM, "Iridian Group" wrote: > I know I am missing something very simple here but I cant stop/start my > Solr instance with > /opt/solr/bin/solr stop > > I get “No Solr nodes

Re: Cant stop/start server

2017-07-14 Thread Erick Erickson
What is the exact command you use? Because the command is "stop -all" or "stop -p "? On Fri, Jul 14, 2017 at 10:05 AM, Iridian Group wrote: > I know I am missing something very simple here but I cant stop/start my Solr > instance with > /opt/solr/bin/solr stop > > I

Re: Apache Solr 4.10.x - Collection Reload times out

2017-07-14 Thread Erick Erickson
I doubt SOLR-6246 is related, DirectSolrSpellChecker just looks in the index using (on a quick scan) IndexReader which doesn't hold a lock IIUC so it shouldn't leave anything around. Additionally, there is no real "build" step since it's looking at the index rather than creating a new one as

Cant stop/start server

2017-07-14 Thread Iridian Group
I know I am missing something very simple here but I cant stop/start my Solr instance with /opt/solr/bin/solr stop I get “No Solr nodes found to stop”, however the server is running. I can access the server via the default port and my app is able to use its services without issue. Thanks

Re: NullPointerException on openStreams

2017-07-14 Thread Erick Erickson
Joel: Would it make sense to throw a more informative error when the stream context wasn't set? Maybe an explicit check in open() or some such? Erick On Fri, Jul 14, 2017 at 8:25 AM, Joe Obernberger wrote: > Still stuck on this one. I suspect there is something

Re: Solr 6.6 is trying to loading *some* (not all) cores more than once

2017-07-14 Thread Erick Erickson
I haven't seen anything like that, unsightly indeed. I like the idea of the button to remove failed messages. The only thing you see is the write lock exception, correct? And since you say it fails on different cores at different times that seems to rule out somehow you have more than one core

Solr 6.6 is trying to loading *some* (not all) cores more than once

2017-07-14 Thread Shawn Heisey
I have a situation at work where a dev system that I have just upgraded from 6.3.0 to 6.6.0 is trying to load a small number of cores more than once. It's not always the same cores on a restart -- sometimes the list is different, and isn't always the same number of cores. The affected cores are

Re: Run solr 6.5+ as daemon

2017-07-14 Thread Shawn Heisey
On 7/14/2017 8:29 AM, Nawab Zada Asad Iqbal wrote: > I want my solr to restart if the process crashes; I am wondering if there > is any drawback which I should consider? > I am considering to use 'daemon --respawn' in the bin/solr; The included scripts already run Solr in the background. I don't

Re: NullPointerException on openStreams

2017-07-14 Thread Joe Obernberger
Still stuck on this one. I suspect there is something I'm not setting in the StreamContext. I'm not sure what to put for these two? context.put("core", this.coreName); context.put("solr-core", req.getCore()); Also not sure what the class is for ClassifyStream? Error that I'm getting is:

Apache Solr 4.10.x - Collection Reload times out

2017-07-14 Thread alessandro.benedetti
I have been recently facing an issue with the Collection Reload in a couple of Solr Cloud clusters : 1) re-index a collection 2) collection happily working 3) trigger collection reload 4) reload times out ( silently, no message in any of the Solr node logs) 5) no effect on the collection ( it

Run solr 6.5+ as daemon

2017-07-14 Thread Nawab Zada Asad Iqbal
Hi, I want my solr to restart if the process crashes; I am wondering if there is any drawback which I should consider? I am considering to use 'daemon --respawn' in the bin/solr; where the OOTB script has following statement: nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS >

Antw: Re: How to Debug Solr With Eclipse

2017-07-14 Thread Rainer Gnan
Hi Giovanni, thank you for this hint! The whole process (tar -xvf ..., ant compile, ant eclipse) untill importing the eclipse-project seems to be fine . After importing it as an existing eclipse project the project explorer shows an error sign on the project folder. Refreshing does not help.

Re: Create too many zookeeper connections when recreate CloudSolrServer instance

2017-07-14 Thread Shawn Heisey
On 7/14/2017 6:29 AM, wg85907 wrote: > I use Solr(4.10.2) as indexing tool. I use a singleton > CloudSolrServer instance to query Solr. When meet exception, for example > current Solr server not response, i will create a new CloudSolrServer > instance and shutdown the old one. Why

RE: [EXTERNAL] - Re: compiling Solr

2017-07-14 Thread Steve Pruitt
My mistake. I guess I thought compiling and creating the dist still created a war for the client. The build was successful and of course the webapp folder was created. Again, my error. I am only building Solr because I want to learn more through direct observation how things work. Hard to

Solr 6.6.0 - Deleting Collections - HDFS

2017-07-14 Thread Joe Obernberger
When I delete a collection, it is gone from the GUI, but the directory is not removed from HDFS. The directory is empty, but the entry is still there. Is this expected? As shown below all the MODEL1007_* collections have been deleted. hadoop fs -du -s -h /solr6.6.0/* 3.3 G 22.7 G

Create too many zookeeper connections when recreate CloudSolrServer instance

2017-07-14 Thread wg85907
Hi Community, I use Solr(4.10.2) as indexing tool. I use a singleton CloudSolrServer instance to query Solr. When meet exception, for example current Solr server not response, i will create a new CloudSolrServer instance and shutdown the old one. We have many query threads that share the

Issue: Hit Highlighting Working Inconsistently in Solr 6.6

2017-07-14 Thread Vikram Oberoi
Hi there, I'm seeing inconsistent highlighting behavior using a default, fresh Solr 6.6 install and it's unclear to me why or how to go about debugging it. Hit highlights either show entirely correct highlights or none at all when there should be highlights. - Some queries show highlights