Why am I able to sort on a multiValued field?

2020-11-13 Thread Andy C
I am adding a new float field to my index that I want to perform range searches and sorting on. It will only contain a single value. I have an existing dynamic field definition in my schema.xml that I wanted to use to avoid having to updating the schema: I went ahead and implemented

Re: Updating configset

2020-09-11 Thread Andy C
Don't know if this is an option for you but the SolrJ Java Client library has support for uploading a config set. If the config set already exists it will overwrite it, and automatically RELOAD the dependent collection. See

Unable to get ICUFoldingFilterFactory class loaded in unsecured 8.4.1 SolrCloud

2020-01-29 Thread Andy C
I have a schema currently used with Solr 7.3.1 that uses the ICU contrib extensions. Previously I used a directive in the solrconfig.xml to load the icu4j and lucene-analyzers-icu jars. The 8.4 upgrade notes indicate that this approach is no longer supported for SolrCloud unless you enable

Re: Boolean Searches?

2019-03-14 Thread Andy C
Dave, You don't mention what query parser you are using, but with the default query parser you can field qualify all the terms entered in a text box by surrounding them with parenthesis. So if you want to search against the 'title' field and they entered: train OR dragon You could generate the

Re: which Zookeper version for Solr 6.6.5

2018-12-14 Thread Andy C
Bernd, I recently asked a similar question about Solr 7.3 and Zookeeper 3.4.11. This is the response I found most helpful: https://www.mail-archive.com/solr-user@lucene.apache.org/msg138910.html - Andy - On Fri, Dec 14, 2018 at 7:41 AM Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote:

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

2018-06-18 Thread Andy C
>From the error, I think the issue is with your zookeeperList definition. Try changing: zookeeperList.add("http://100.12.119.10:2281;); zookeeperList.add("http://100.12.119.10:2282;); zookeeperList.add("http://100.12.119.10:2283;); to

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

2018-06-18 Thread Andy C
I am using the following (Solr 7.3.1) successfully: import java.util.Optional; Optional chrootOption = null; if (StringUtils.isNotBlank(_zkChroot)) { chrootOption = Optional.of(_zkChroot); } else { chrootOption =

Re: Performance if there is a large number of field

2018-05-11 Thread Andy C
Shawn, Why are range searches more efficient than wildcard searches? I guess I would have expected that they just provide different mechanism for defining the range of unique terms that are of interest, and that the merge processing would be identical. Would a search such as: field:c* be more

Re: Upgrading to Solr 7.3 but Zookeeper 3.4.11 no longer available on Zookeeper mirror sites

2018-05-09 Thread Andy C
Thanks Shawn. That makes sense. On Wed, May 9, 2018 at 5:10 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 5/9/2018 2:38 PM, Andy C wrote: > > Was not quite sure from reading the JIRA why the Zookeeper team felt the > > issue was so critical that they felt the need to

Re: Upgrading to Solr 7.3 but Zookeeper 3.4.11 no longer available on Zookeeper mirror sites

2018-05-09 Thread Andy C
<erickerick...@gmail.com> wrote: > That bug isn't all that critical, at worst you may have to invert > where your two directories point. > > 3.4.11 is available from https://archive.apache.org/dist/zookeeper/ > > Best, > Erick > > On Wed, May 9, 2018 at 12:51 PM, A

Upgrading to Solr 7.3 but Zookeeper 3.4.11 no longer available on Zookeeper mirror sites

2018-05-09 Thread Andy C
According to the 7.3 release notes I should be using Zookeeper 3.4.11 with Solr 7.3. However it appears that Zookeeper has pulled Zookeeper 3.4.11 from their mirror sites (this appears to be due to a serious bug in ZK 3.4.11 - ZOOKEEPER-2960)

Recovering from machine failure

2018-03-16 Thread Andy C
Running Solr 7.2 in SolrCloud mode with 5 Linux VMs. Each VM was a single shard, no replication. Single Zookeeper instance running on the same VM as one of the Solr instances. IT was making changes, and 2 of the VMs won't reboot (including the VM where Zookeeper is installed). There was a

Re: After upgrade to Solr 6.5, q.op=AND affects filter query differently than in older version

2017-05-01 Thread Andy C
s present. And then changing the filter query to: fq=ctindex_populated:false OR ctindex:myId Would this be more efficient than your proposed filter query? Thanks again, - Andy - On Mon, May 1, 2017 at 10:19 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 4/26/2017 1:04 PM, Andy C wrote: > > I'

After upgrade to Solr 6.5, q.op=AND affects filter query differently than in older version

2017-04-26 Thread Andy C
I'm looking at upgrading the version of Solr used with our application from 5.3 to 6.5. Having an issue with a change in the behavior of one of the filter queries we generate. The field "ctindex" is only present in a subset of documents. It basically contains a user id. For those documents where

Re: Overlapped Gap Facets

2016-11-17 Thread Andy C
You might want to look at using Interval Facets ( https://cwiki.apache.org/confluence/display/solr/Faceting#Faceting-IntervalFaceting) in combination with relative dates specified using the Date Math feature ( https://cwiki.apache.org/confluence/display/solr/Working+with+Dates) You would have to

Re: Zero value fails to match Positive, Negative, or Zero interval facet

2016-10-21 Thread Andy C
; } else { return 1; } } } return startComparison; } On Wed, Oct 19, 2016 at 2:47 PM, Andy C <andycs...@gmail.com> wrote: > I have a field called "SCALE_double" that is defined as multivalued with >

Zero value fails to match Positive, Negative, or Zero interval facet

2016-10-19 Thread Andy C
I have a field called "SCALE_double" that is defined as multivalued with the fieldType "tdouble". "tdouble" is defined as: I have a document with the value "0" indexed for this field. I am able to successfully retrieve the document with the range query "SCALE_double:[0 TO 0]". However it

Are there issues with the use of SolrCloud / embedded Zookeeper in non-HA deployments?

2016-07-28 Thread Andy C
We have integrated Solr 5.3.1 into our product. During installation customers have the option of setting up a single Solr instance, or for high availability deployments, multiple Solr instances in a master/slave configuration. We are looking at migrating to SolrCloud for HA deployments, but are