How to force delete tlog?

2020-01-09 Thread Louis
Hi, Now I finally gave up deleting tlogs(disabling cdcr buffer, restarting source node, neither of them worked..) and am now writing cron script to delete tlogs. However, I discovered that even if I delete tlogs files manually, QUEUES api still returns the positive number of tlogTotalCount(but tl

Is there any way to forcefully delete tlog?

2020-01-09 Thread Louis
Hi, Now I finally gave up deleting tlogs(disabling buffer, restarting source node, neither of them worked..) and am now writing cron script to delete tlogs. However, I discovered that even if I delete tlogs files manually, QUEUES api still returns the positive number of tlogTotalCount(but tlogTot

Re: Edismax ignoring queries containing booleans

2020-01-09 Thread Edward Ribeiro
The fq is not affected by mm parameter because it uses Solr's default query parser (LuceneQueryParser) that doesn't support it. But you can change the parser used by fq this way: fq={!edismax}recordID:(10 20) or fq={!edismax mm=1}recordID:(10 20) , for example (even though that is not the case here

Re: Edismax ignoring queries containing booleans

2020-01-09 Thread Edward Ribeiro
Hi Claire, > The only visual difference I think is the ~2 which came after the initial part of the parsed query: > Old Query start: +((recordID:[18 TO 18]) (recordID:[19 TO 19]) (recordID:[20 TO 20]))~2 > New Query start: +((recordID:[18 TO 18]) (recordID:[19 TO 19]) (recordID:[20 TO 20])) The mm

Re: Add Solr files to VCS (GIT)

2020-01-09 Thread Walter Underwood
If you only have one server, that isn’t production or search isn’t important. So it doesn’t really matter how you update it. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 9, 2020, at 7:48 AM, Paras Lehana wrote: > > Hey Erick, > > Thanks for

Re: Add Solr files to VCS (GIT)

2020-01-09 Thread Walter Underwood
For master/slave clusters, we have a deploy step that copies the config files to each server. Then we restart the Solr process. We do that one at a time for minimal service interruption. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 9, 2020, at

Re: Add Solr files to VCS (GIT)

2020-01-09 Thread Paras Lehana
Hey Erick, Thanks for your reply. We have only one production server and one development server both connected with same git repo (different branches). I'm using Solr in standalone mode. On Thu, 9 Jan 2020 at 19:48, Erick Erickson wrote: > There’s nothing built in to Solr that will automatical

Solr suggester : duplicate suggestions

2020-01-09 Thread Dhanesh Radhakrishnan
Dear all, I'm facing two issues with solr suggester component. *First * If I typed "Fire and safety", I'll get the result. But If I type "Fire & safety" suggester is not showing *Second* I'm getting duplicate suggestions in suggester "suggest": { "categorySuggester": { "sof

Re: Solr 8.5

2020-01-09 Thread Erick Erickson
There’s no formal schedule, it’s “whenever someone thinks there are enough accumulated changes and is willing to step up and be the release manager”. The cadence has been every 2-3 months. > On Jan 9, 2020, at 9:47 AM, Eric Allen wrote: > > Is there an eta if/when Solr version 8.5 will be rele

Solr 8.5

2020-01-09 Thread Eric Allen
Is there an eta if/when Solr version 8.5 will be released? Thanks [Image result for netdocuments logo] Eric Allen Software Developer, NetDocuments 2500 Executive Parkway, Suite 300 Lehi, Utah 84043 Office: 801.989.9697 C: 801.989.9691 eric.al...@netdocuments.com

Re: Issue on solr master

2020-01-09 Thread Erick Erickson
What are you trying to do? Start up a stand-alone server or SolrCloud? In the former case be very sure you don’t have a ZK_HOST environment variable defined, see solr.in.sh. In the latter case, either start Solr with the “-z zkEnsemble” option or have an env var ZK_HOST defined. See solr.in.sh fo

Re: Add Solr files to VCS (GIT)

2020-01-09 Thread Erick Erickson
There’s nothing built in to Solr that will automatically pull files from a VCS repo, so it’s a manual process. Which is one of the “gotchas” about managed config files, but that’s another rant. Are you running SolrCloud or stand-alone? If SolrCloud, it doesn’t make sense to talk about /var/solr/da

Re: Solr 7.5 seed up, accuracy details

2020-01-09 Thread Paras Lehana
I usually keep older and newer Solr versions on different server with same configuration. Then, use jmeter with same parameters and compare the results. Make sure settings like environment settings (JVM, GC) and core configuration (Cache) are in sync and you restart both of them before testing. On

Re: Help for importing large data (approx. 8GB) from old solr version to new solr version

2020-01-09 Thread Paras Lehana
Hi Ken, I also recommend at least reading if not following "Taking Solr to Production": https://lucene.apache.org/solr/guide/8_4/taking-solr-to-production.html. Following this cleared my doubts regarding upgradation and core referencing while made upgradation very easy and fast. While starting S

Add Solr files to VCS (GIT)

2020-01-09 Thread Paras Lehana
Hi Community, We have just set up a new server with Solr 8.4 on production. Instead of changing files like solrconfig and solr.in.sh by logging on the server, we are planning to have some VCS. We have integrated GIT on our server but, as other servers, there is a single directory where git files a

Re: Issue on solr master

2020-01-09 Thread Jan Høydahl
Please paste the exact log lines from solr.log file. What class is logging this? What were you doing when those logs appeared? How often do you see it? We need more context to answer your question. Jan > 9. jan. 2020 kl. 09:32 skrev Akreeti Agarwal : > > Hi All, > > I am just setting up my s

Re: Log issue adding a java agent to SOLR_OPTS

2020-01-09 Thread Jan Høydahl
So probably you need to tweak your log4j2.xml configuration to explicitly log to file? Jan > 9. jan. 2020 kl. 11:58 skrev Jesús Roca : > > Hello again! > > It looks like due to the java agent, Solr don't mute logging to console: > > [main] WARN org.apache.solr.util.StartupLoggingUtils - Could

Re: Log issue adding a java agent to SOLR_OPTS

2020-01-09 Thread Jesús Roca
Hello again! It looks like due to the java agent, Solr don't mute logging to console: [main] WARN org.apache.solr.util.StartupLoggingUtils - Could not mute logging to console. Dynamic log manipulation currently only supported for Log4j. Please consult your logging framework of choice on how to co

RE: Edismax ignoring queries containing booleans

2020-01-09 Thread Claire Pollard
Also, I've found this bug from previous which highlights the issue with ))~2 https://issues.apache.org/jira/browse/SOLR-8812 mm is set at config, but not explicitly in the query... I can see this is a change to default behaviour, but does it mean I should be passing mm in the query now rather

RE: Edismax ignoring queries containing booleans

2020-01-09 Thread Claire Pollard
Hey Edward, Thanks for the tips. 😊 I've cleaned up my solrconfig, removed the duplicate df, tabs and newlines, and tried commenting out the bits you've suggested and adding them back in bit by bit, and it seems mm was the thing which is breaking the query for me. Without it, the query returns

Haystack CFP is open, come and tell us how you tune relevance for Lucene/Solr

2020-01-09 Thread Charlie Hull
Hi all, Haystack, the search relevance conference, is confirmed for 29th & 30th April 2020 in Charlottesville, Virginia - the CFP is open and we need your contributions! More information at www.haystackconf.com including links to previous talks, deadline is 31st J

Issue on solr master

2020-01-09 Thread Akreeti Agarwal
Hi All, I am just setting up my solr master. I am using solr-7.5.0 version with master slave architecture. On my master server, I have started the jetty server using: ./solr start -p 8983 After starting the server, I am continuously getting this error in my master server logs: org.apache.solr.c