Re: how to generate code from QueryParser.jj file

2017-07-21 Thread Nawab Zada Asad Iqbal
/QueryParser.jj this apparently is getting dropped at: lucene-solr/solr/build/solr/src-export/solr/core/src/java/org/apache/solr/parser/QueryParser.jj However, I am not sure what target drops it! Nawab On Fri, Jul 21, 2017 at 7:12 PM, Nawab Zada Asad Iqbal <khi...@gmail.com> wrote: >

how to generate code from QueryParser.jj file

2017-07-21 Thread Nawab Zada Asad Iqbal
Hi, I know that we can make changes in the language by editing QueryParser.jj, however, how does it get generated into java code? Is there any ant target? 'compile' doesn't seem to generate java code for my changes (e.g., adding lower case logical operators). Regards Nawab

Re: Solr 6.6 test failure: TestSolrCloudWithKerberosAlt.testBasics

2017-07-20 Thread Nawab Zada Asad Iqbal
in 32.47s, 1 test, 3 errors <<< FAILURES! [junit4] [junit4] [junit4] Tests with failures [seed: C3B77541FB9DE693]: [junit4] - org.apache.solr.cloud.TestSolrCloudWithKerberosAlt.testBasics [junit4] - org.apache.solr.cloud.TestSolrCloudWithKerberosAlt (suite) [junit4] [jun

Solr 6.6 test failure: TestSolrCloudWithKerberosAlt.testBasics

2017-07-20 Thread Nawab Zada Asad Iqbal
Hi, I cloned solr 6.6 branch today and I see this failure consistently. TestSolrCloudWithKerberosAlt.testBasics I had done some script changes but after seeing this failure I reverted them and ran: `ant -Dtestcase=TestSolrCloudWithKerberosAlt clean test` but this test still fails with this

Re: 'ant test' gets stuck after aborting one run

2017-07-19 Thread Nawab Zada Asad Iqbal
wrote: > This is often an issue with ivy, one of my least favorite "features" > of Ivy. To cure it I delete all the *.lck files in my ivy cache. On my > mac: > > cd ~/.ivy2 > find . -name "*.lck" | xargs rm > > Best, > Erick > > >

'ant test' gets stuck after aborting one run

2017-07-19 Thread Nawab Zada Asad Iqbal
Hi I stopped 'ant test' target before it finished, and now whenever I run it again, it is stuck at 'install-junit4-taskdef'. I have tried 'ant clean' but it didn't help. I guessed that it could be some locking thing in ivy or ant so I set ivy.sync to false in the common-build.xml "" I also

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 >

Re: Enabling SSL

2017-07-12 Thread Nawab Zada Asad Iqbal
I guess your certificates are self generated? In that case, this is a browser nanny trying to protect you. I also get same error in Firefox, however Chrome was little forgiving. It showed me an option to choose my certificate (the client certificate), and then bypassed the safety barrier. I

Re: Using HTTP and HTTPS at the same time

2017-07-12 Thread Nawab Zada Asad Iqbal
to > https. (Is 'promote' the right term?) Cheers -- Rick > > On July 11, 2017 6:09:42 PM EDT, Nawab Zada Asad Iqbal <khi...@gmail.com> > wrote: > >Hi, > > > >I am reading a comment on > >https://cwiki.apache.org/confluence/display/solr/Enabling+SSL which &

Using HTTP and HTTPS at the same time

2017-07-11 Thread Nawab Zada Asad Iqbal
Hi, I am reading a comment on https://cwiki.apache.org/confluence/display/solr/Enabling+SSL which says. Just wanted to check if this is still the same with 6.5? This used to work in 4.5. Shalin Shekhar Mangar Solr does not support

Re: Solr starts without error but not working

2017-06-18 Thread Nawab Zada Asad Iqbal
AM, Rick Leir <rl...@leirtech.com> wrote: > firewall? > > > > On 2017-06-18 01:04 AM, Nawab Zada Asad Iqbal wrote: > >> Hi >> >> So I am deploying solr 6.5.1 using puppet to another machine (which I can >> ssh to) . The logs have no error but solr h

Solr starts without error but not working

2017-06-17 Thread Nawab Zada Asad Iqbal
Hi So I am deploying solr 6.5.1 using puppet to another machine (which I can ssh to) . The logs have no error but solr home page has nothing (no response from server) . Using curl also showed empty response. What could be wrong ? The server is writing logs and also found the core folder; so

Re: Taking Solr 6.5.x to production.

2017-06-07 Thread Nawab Zada Asad Iqbal
Actually, I found the answer by opening the script file! On Mon, Jun 5, 2017 at 3:59 PM, Nawab Zada Asad Iqbal <khi...@gmail.com> wrote: > Hi solr community > > What are the steps for taking solr to production if Solr installation > script does not support my environment

Taking Solr 6.5.x to production.

2017-06-05 Thread Nawab Zada Asad Iqbal
Hi solr community What are the steps for taking solr to production if Solr installation script does not support my environment. Is there a list of all the steps done by the Installation script so that I can do them manually? I am upgrading from 4.5.0; and today we compile our solr custom code

Re: Steps for building solr/lucene code and starting server

2017-06-05 Thread Nawab Zada Asad Iqbal
gt; it's one less thing to forget to copy sometime later... > > Best, > Erick > > On Fri, Jun 2, 2017 at 5:05 PM, Nawab Zada Asad Iqbal <khi...@gmail.com> > wrote: > > When I do 'ant server', the libs from "./build/lucene-libs/" are copied > > over to "./

Re: Upgrading config from 4.5.0 to 6.5.1

2017-06-05 Thread Nawab Zada Asad Iqbal
commended way is to use the new version of solrconfig.xml and apply > > your modifications to it. You will want to go through it looking for > > developments that would affect you. > > Cheers > > Rick > > > > On May 31, 2017 3:45:58 PM EDT, Nawab Z

Field x is not multivalued and destination for multiple copyFields

2017-06-05 Thread Nawab Zada Asad Iqbal
*Hi, I have a field 'name_token' which gets value via copyFields on different language-specific fields (e.g. name_en , name_it, name_es, etc.) If I can ensure that, * *only one of these language-specific fields will have a value for a given document, is it ok to ignore this warning:"IndexSchema

Re: Steps for building solr/lucene code and starting server

2017-06-02 Thread Nawab Zada Asad Iqbal
et? On Fri, Jun 2, 2017 at 4:20 PM, Nawab Zada Asad Iqbal <khi...@gmail.com> wrote: > Hi Erick > > "bin/solr start -e techproducts" works fine. It is probably because it is > not referring to 'org.apache.lucene.analysis.ic > u.ICUNormalizer2CharFilterFactory'

Re: Steps for building solr/lucene code and starting server

2017-06-02 Thread Nawab Zada Asad Iqbal
le, > "bin/solr start -e techproducts" > Don't specify solrhome or anything else. Once that works, > build up from there. > > Best, > Erick > > On Fri, Jun 2, 2017 at 3:15 AM, Nawab Zada Asad Iqbal <khi...@gmail.com> > wrote: > > Hi, > > > >

Steps for building solr/lucene code and starting server

2017-06-02 Thread Nawab Zada Asad Iqbal
Hi, I have synced lucene-solr repo because I (will) have some custom code in lucene and solr folders. What are the steps for starting solr server? My schema.xml uses ICUNormalizer2CharFilterFactory (which I see in lucene folder tree), but I don't know how to make it work with solr webapp. I know

Upgrading config from 4.5.0 to 6.5.1

2017-05-31 Thread Nawab Zada Asad Iqbal
Hi, I am upgrading 4.5.0 to latest stable bits and wondering what will be the quickest way to find out any obsolete or deprecated settings in config files? If I run the latest server with my old config (solr.xml, solrconfig.xml, schema.xml) files, will it warn for deprecated/less-optimal values?

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Nawab Zada Asad Iqbal
you can specify > openSearcher=false for hard commits, so you can commit frequently, > preserving your index without having to replay and without worrying > about the expense of opening new searchers. > > Best, > Erick > > On Mon, May 29, 2017 at 12:47 PM, Nawab Zada Asad Iqbal >

Re: TLog for non-Solrcloud scenario

2017-05-29 Thread Nawab Zada Asad Iqbal
ogs-softcommit-and-commit-in-sorlcloud/ > > Short form: soft commit doesn't flush tlogs, does not start a new > tlog, does not close segments, does not open new segments. > > Hard commit does all of these things. > > Best, > Erick > > On Sun, May 28, 2017 at 3:59 PM, Nawab Z

Re: StandardDirectoryReader.java:: applyAllDeletes, writeAllDeletes

2017-05-28 Thread Nawab Zada Asad Iqbal
(boolean applyAllDeletes, boolean writeAllDeletes) , it seems that this method is particular to NRT. Since we are not using soft commits, can this change actually improve our performance during full reindex? Thanks Nawab On Sun, May 28, 2017 at 2:16 PM, Nawab Zada Asad Iqbal <

TLog for non-Solrcloud scenario

2017-05-28 Thread Nawab Zada Asad Iqbal
Hi, SolrCloud document mentions: "The sync can be tunable e.g. flush vs fsync by default can protect against JVM crashes but not against power failure and can be much faster " Does it mean that flush protects against JVM crash but not power

Re: StandardDirectoryReader.java:: applyAllDeletes, writeAllDeletes

2017-05-28 Thread Nawab Zada Asad Iqbal
y from writer to reader, for reduced refresh latency. > > What sort of custom changes do you have in this part of Lucene? > > Mike McCandless > > http://blog.mikemccandless.com > > On Sat, May 27, 2017 at 10:35 PM, Nawab Zada Asad Iqbal <khi...@gmail.com> > wrote: &g

StandardDirectoryReader.java:: applyAllDeletes, writeAllDeletes

2017-05-27 Thread Nawab Zada Asad Iqbal
Hi all I am looking at following change in lucene-solr which doen't mention any JIRA. How can I know more about it? "1ae7291 Mike McCandless on 1/24/16 at 3:17 PM current patch" Specifically, I am interested in what 'writeAllDeletes' does in the following method. Let me know if it is very

Re: solr 6 at scale

2017-05-25 Thread Nawab Zada Asad Iqbal
to all the replicas in parallel. We don't use solrCloud although it was available in solr.4.5 (which we are using). Thanks Nawab On Wed, May 24, 2017 at 3:01 PM, Toke Eskildsen <t...@kb.dk> wrote: > Nawab Zada Asad Iqbal <khi...@gmail.com> wrote: > > @Toke, I stumbled upo

Re: solr 6 at scale

2017-05-24 Thread Nawab Zada Asad Iqbal
Thanks everyone for the responses, I will go with the latest bits for now; and will share how it goes. @Toke, I stumbled upon your page last week but it seems that your huge index doesn't receive a lot of query traffic. Mine is around 60TB and receives around 120 queries per second; ~90 shards on

solr 6 at scale

2017-05-23 Thread Nawab Zada Asad Iqbal
Hi all, I am planning to upgrade my solr.4.x installation to a recent stable version. Should I get the latest 6.5.1 bits or will a little older release be better in terms of stability? I am curious if there is way to see solr.6.x adoption in large companies. I have talked to few people and they

<    1   2