Alias Not Showing Up in Solr Manager

2018-09-21 Thread THADC
Hi, When we create an alias from browser, like: *http://blah/solr/admin/collections?action=CREATEALIAS&name=blah-alias&collections=blah-collection* , the alias is successfully created, but I would expect it to appear on the solr admin on the collections tab (where an alias can be created and del

Cannot Figure out Reason for Persistent Zookeeper Warning

2018-08-30 Thread THADC
Hello, we have a solr server set up with a pair of replicated solr servers and a three-node zookeeper front end. This configuration is replicated in several environments. In one environment, we frequently receive the following zookeeper-related warning against each of the three webapps that have so

Point Alias to New Collection

2018-08-17 Thread THADC
Hi, Is there is a way to redirect an existing alias to a new collection. I know how to create an alias and assign it to a collection, but I need a way to redirect in periodically to a different collection. Any ideas appreciated. Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User

Re: Schema Change for Solr 7.4

2018-08-13 Thread THADC
Hi Shawn, thanks for this response. We are probably going to take your suggested approach: 1. Upload a new configset to ZooKeeper. 2. Create a new collection using the new configset. 3. Index data into the new collection. 4. Set up an alias with the original collection name, pointing at the ne

Can We Alias field "_text_" to "text" in Schema

2018-08-08 Thread THADC
Hello, We recently migrated from solr 4.7 to 7.3. We are having a problem with legacy java code that we do not have control over where searches are coded to query text as "text". Again, we do not the luxury in this instance to update the code, so we were wondering whether there is a way to define

Re: SolrQuery Highlight Problem - Not working for text

2018-08-07 Thread THADC
Thanks Erick, that indeed was the problem. All good now! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

SolrQuery Highlight Problem - Not working for text

2018-08-02 Thread THADC
Hi, we recently upgraded from solr 4.7 to solr 7.3. One of the things we had to change for this was the value of text_general type in schema.xml going from "text" to "_text_". Most everywhere things are working fine, except that highlight info is no showing up in our search results performing sear

Re: Solr Optimization Failure due to Timeout Waiting for Server - How to Address

2018-07-24 Thread THADC
Thanks, we feel confident we will not need the optimization for our circumstances and just remove the code. Appreciated the response! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solr Optimization Failure due to Timeout Waiting for Server - How to Address

2018-07-24 Thread THADC
Hi, We have recently been performing a bulk reindexing against a large database of ours. At the end of reindexing all documents we successfully perform a CloudSolrClient.commit(). The entire reindexing process takes around 9 hours. This is solr 7.3, by the way.. Anyway, immediately after the comm

Document Count Difference Between Solr Versions 4.7 and 7.3

2018-07-19 Thread THADC
Hi, I performed a bulk reindex against one of our larger databases for the first time using solr 7.3. The document count was substantially less (like at least 15% less) than our most recent bulk reindex from th previous solr 4.7 server. I will perform a more careful analysis, but I am assuming the

Re: Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-19 Thread THADC
Thanks, made heap size considerably larger and its fine now. Thank you -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread THADC
Thanks for the reply. I read the link you provided. I am currently not specifying a heap size with solr so my understanding is that by default it will just grow automatically. If I add more physical memory to the VM without doing anything with heap size, won't that possibly fix the problem? Thanks

Solr Nodes Killed During a ReIndexing Process on New VMs Out of Memory Error

2018-07-18 Thread THADC
Hi, We performed a full reindex for the first time against our largest database and on two new VMs dedicated to solr indexing. We have two solr nodes (solrCloud/solr7.3) with a zookeeper cluster. Several hours into the reindexing process, both solr nodes shut down with: java.long.OutOfMemoryError

Re: Importance of having the lsof utility on our solr server VMs

2018-06-29 Thread THADC
Thanks. I think that's a good point that it helps recognize port conflict at start up. Although that scenario is unlikely in my case, I am going to try to get it installed. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Importance of having the lsof utility on our solr server VMs

2018-06-28 Thread THADC
Hello, Today I am running the ./bin/solr command from new VMs that apparently don't have the lsof command installed. I noticed a warning message saying the command needs lsof in order to determine if solr is listening on the port I am trying to have it run on. But then is says its started anyway.

Re: Limited Search Results During Full Reindexing - Fine Once Completed

2018-06-19 Thread THADC
thanks I changed the autosoftCommit from -1 and 3000 and that seemed to do the trick. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Connection Problem with CloudSolrClient.Builder().build When passing a Zookeeper Addresses and RootParam

2018-06-19 Thread THADC
Thank you Andy, The problem was as you suspected, the "http://"; prefixes. The odd thing is that I used to use the one param constructor with the solr node URL list (like: CloudSolrClient.Builder(solrServerURLLList).build();). I could not get that one to work without the "http://"; prefix. Anyway

Re: Connection Problem with CloudSolrClient.Builder().build When passing a Zookeeper Addresses and RootParam

2018-06-18 Thread THADC
Thanks. So I tried what you had, however, you are not specifying _zkChroot, so I don't know what to put there. I don't know what that value would be for me, or if I even need it. So I commented out most you example to: Optional chrootOption = null; // if (StringUtils.isNotBlank(_zkChroot))

Connection Problem with CloudSolrClient.Builder().build When passing a Zookeeper Addresses and RootParam

2018-06-18 Thread THADC
Hello, I am using solr 7.3 and zookeeper 3.4.10. I have custom client code that is supposed to connect the a zookeeper cluster. For the sake of clarity, the main code focus: private synchronized void initSolrClient() { List zookeeperList = new ArrayList

Limited Search Results During Full Reindexing - Fine Once Completed

2018-06-15 Thread THADC
Hello, We are migrating from solr 4.7 to 7.3. It takes about an hour to perform a complete re-index against our development database. During this upgrade (to 7.3) testing, I typically wait for the re-index to complete before doing sample queries from our application. However, I got a bit impatient

Re: Relationship Between Number of Solr Replicas and Number of Zookeeper Nodes (if any)

2018-06-11 Thread THADC
Shawn, thanks. You say "at least two replicas per shard are required for high availability". So that would be a total of three nodes for that shard, correct? Thanks, Tim Clotworthy -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Relationship Between Number of Solr Replicas and Number of Zookeeper Nodes (if any)

2018-06-10 Thread THADC
Thanks Eric, that was helpful. But what if you want to proactively replicate across multiple servers either at the VM or even physical server level. It seems that we have control over the zookeeper locations and the solr server locations since we explicitly define these when we configure the instan

Relationship Between Number of Solr Replicas and Number of Zookeeper Nodes (if any)

2018-06-08 Thread THADC
Hello, I am having trouble getting a clear understanding of the relationship between my 3-node zookeeper cluster and how those 3 nodes relate to solr replicas (if at all). Since the replicas exist for failover purposes (correct?) as opposed to for load balancing (which is what the sharding strateg

Re: Pointing 3 Solr Servers to a 3-node Zookeeper Cluster

2018-06-01 Thread THADC
understood. Thank you! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Pointing 3 Solr Servers to a 3-node Zookeeper Cluster

2018-05-31 Thread THADC
Hello, I have a three-node zookeeper cluster running on ports 2181, 2182, and 2183. I also am creating three solr server nodes (running as solr cloud instances). I want the three solr nodes (on ports 7574, 8983, and 8990) to be in that zookeeper cluster. Since the three zookeeper nodes are in the

Re: Why are port numbers not showing on Solr Admin Cloud Tab

2018-05-18 Thread THADC
I decided to simply create an external zookeeper cluster and point my solr server nodes to them instead of using the build-in zookeeper. For whatever reason, this solved the issue: I see the port numbers. Please consider this thread closed. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-

Why are port numbers not showing on Solr Admin Cloud Tab

2018-05-18 Thread THADC
Hello, I created a two node solr cloud setup using the internal zookeeper. My setup was as follows: ./bin/solr start -c -p 8983 -s /opt/solrDeployTest/nodeHome/node1/solr/ ./bin/solr start -c -p 7574 -s /opt/solrDeployTest/nodeHome/node2/solr/ , I then created my own configset and loaded it in

Re: Default Searches not working after migrating from Solr 4.7 to 7.3

2018-05-17 Thread THADC
Ok this is fixed. the _text_<\df> was not the issue. Certain copyFields had to be changed from dest="text" to dest="_text_". this issue is closed. thank you -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Default Searches not working after migrating from Solr 4.7 to 7.3

2018-05-17 Thread THADC
Hello, Migrating our system from solr 4.7 to 7.3. Simple default searches are not working. For our simply searches, we had the following in our schema.xml for 4.7: text , however for 7.3, "defaultSearchField" apparently no longer a valid type. I switched to "df". Also, "text" is no longer defau

Re: Error when indexing against a specific dynamic field type

2018-05-01 Thread THADC
Erick, thanks for the response. I have a number of documents in our database where solr is throwing the same exception against *_tsing types. However, when I index against the same document with our solr 4.7, it is successfully indexed. So, I assume something is different between 4.7 and 7.3. I wa

Error when indexing against a specific dynamic field type

2018-05-01 Thread THADC
Hello, We are migrating from solr 4.7 to 7.3. When I encounter a data item that matches a custom dynamic field from our 4.7 schema: ** , I get the following exception: *Exception writing document id FULL_36265 to the index; possible analysis error: Document contains at least one immense term in

Re: Multiple Solr Versions on same tomcat instance

2018-04-30 Thread THADC
thank you Shawn, We will go ahead and migrate to solr 7.3.0 and run as a stand alone appliance and so I do not need to worry about the tomcat issue. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: solr can't find my config set when creating a new collection

2018-04-30 Thread THADC
ok, I have fixed my issue. I needed to delete the config set first, so I did: http://localhost:8983/solr/admin/configs?action=DELETE&name=timConfig , then I ran: ./bin/solr zk upconfig -n timConfig -d /home/tim/solr-7.3.0/server/solr/configsets/timConfig/ -z localhost:2181 , then tried creati

Multiple Solr Versions on same tomcat instance

2018-04-30 Thread THADC
Hello, First of all, I have a second (unrelated) question on this solr user group. I hope it is ok to have more than one question being asked at the same time against this group. Please let me know if not. Anyway, I have a need to keep our existing solr version 4.7 instance running while I test t

Re: Error when starting standalone zookeeper instance

2018-04-30 Thread THADC
sorry, I found the zookeeper group and got my question answered there. I will be more careful in the future. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: solr can't find my config set when creating a new collection

2018-04-30 Thread THADC
thanks, I got further this time after first uploading. I ran: ./bin/solr zk upconfig -n timConfig -d /home/tim/solr-7.3.0/server/solr/configsets/timConfig/ -z localhost:2181 However, I then got an error when trying to create the collections again: responseHeader status 0 QTime 3255

solr can't find my config set when creating a new collection

2018-04-29 Thread THADC
Hi, I created (or thought I was) a new config set by copying the directory ~server/solr/configset/_default/* to a new configset: ~/server/solr/configset/timConfig. I then added a couple of new indexes to the managed-schema file. I then tried to create a new collection assigned to my new config se

Re: Error when starting standalone zookeeper instance

2018-04-27 Thread THADC
ok, I made a couple of changes, however I don't think the server is starting. When I invoke the start: *$ ./bin/zkServer.sh start ZooKeeper JMX enabled by default Using config: /c/Users/thclotworthy/DevBase/zookeeper/zookeeper-3.4.10/bin/../conf/zoo.cfg Starting zookeeper ... STARTED* , it says i

Re: Error when starting standalone zookeeper instance

2018-04-27 Thread THADC
Thanks for responding, below is the zoo.cfg file contents. I took this directly from the solr ref guide 7.0, for setting up an external zookeeper (https://lucene.apache.org/solr/guide/7_0/setting-up-an-external-zookeeper-ensemble.html#setting-up-an-external-zookeeper-ensemble). It did not specify t

Error when starting standalone zookeeper instance

2018-04-27 Thread THADC
Hi, I am new to zookeeper. created my zoo.cfg and attempted starting instance (DOS shell). my command is: .\bin\zkServer.cmd start zoo.cfg and getting following error: "C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\build\classes;C:\Users\thclotworthy\DevBase\zookeeper\zookeep

Re: Cannot Find My New Solr Configset (Solr Cloud 7.3.0)

2018-04-26 Thread THADC
ok, I am creating myConfigset from the _default configset. So, I am copying ALL the files under _default/conf to myConfigset/conf. I am only modifying the schema.xml, and then I will re-upload to ZP. Question: Do I need to modify any of the other copied files in the conf dir (e.g, solrconfig.xml,

Re: Cannot Find My New Solr Configset (Solr Cloud 7.3.0)

2018-04-26 Thread THADC
Shawn, thanks for the reply. The issue is that I need to modify the schema.xml file to add my customizations. Are you saying I cannot manually access the config set to modify the schema file? If not, how do I modify it? Thanks, Tim -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472

Cannot Find My New Solr Configset (Solr Cloud 7.3.0)

2018-04-26 Thread THADC
Hello, I am migrating from solr 4.7 to solr cloud 7.3.0. I am trying to create a new custom configset set based on a default (_default) that came with the installation. I followed the instructions and used the following call: http://localhost:8983/solr/admin/configs?action=CREATE&name=mySolrCloudC