Re: BUMP: Atomic updates and POST command?

2018-09-01 Thread Shawn Heisey
On 8/31/2018 7:18 PM, Scott Prentice wrote: Yup. That does the trick! Here's my command line ..     $ ./bin/post -c core01 -format solr /home/xtech/solrtest/test1b.json I saw that "-format solr" option, but it wasn't clear what it did. It's still not clear to me how that changes the endpoint t

Re: Sorting by custom order

2018-09-01 Thread Walter Underwood
Use a enum field. Those are designed to map arbitrary values to a sort order. The standard example is to apply an order to something that isn’t alpha like: Error, Warning, Info. https://lucene.apache.org/solr/guide/6_6/working-with-enum-fields.html Enums convert an ordered set into a numeric sort

Re: Sorting by custom order

2018-09-01 Thread Shawn Heisey
On 9/1/2018 12:36 AM, Salvo Bonanno wrote: I need to sort a results set in a particolar way... the documents looks like this: There are two problems with what you want and your setup. I need to sort them by profile_txt value (it's a multiValue field but actually it contains just a single valu

Re: facet values from stored values

2018-09-01 Thread Walter Underwood
I wrote some code to call an analysis chain in an update request processor then add those values to fields. I started with some work by Eric Hatcher then updated it for recent releases of Java. Look at this discussion to see if it is the kind of thing you want. http://lucene.472066.n3.nabble.com/

Re: facet values from stored values

2018-09-01 Thread Erick Erickson
In a word, no. Performance would be horrible. I'd do the transformations in your indexing code to a docValuea field and facet on that field. On Sat, Sep 1, 2018, 07:17 nirsh wrote: > Hi, > > is there a way to return from the stored value of facets and not the > indexed > value? > we have normali

Re: ZooKeeper issues with AWS

2018-09-01 Thread Shawn Heisey
On 9/1/2018 3:42 AM, Björn Häuser wrote: as far as I can see the required fix for this is finally in 3.4.13: - https://issues.apache.org/jira/browse/ZOOKEEPER-2184 Would be great to have this in the next solr update. Issue created. http

facet values from stored values

2018-09-01 Thread nirsh
Hi, is there a way to return from the stored value of facets and not the indexed value? we have normalization we perform, such as lower case, punctuation etc.. and need to display the stored value of it. Thanks, -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Need to connect solr with solrj from AWS lambda

2018-09-01 Thread Mikhail Khludnev
Hello, Srini. Are you sure that security group let to reach Solr host? On Sat, Sep 1, 2018 at 1:08 AM nalsrini wrote: > Hi, > I need to connect solr with solrj from AWS java lambda. I use solr 5.3. > > I get the client object like this: > SolrClient client = new > HttpSolrClient(System.getenv(Sy

Re: ZooKeeper issues with AWS

2018-09-01 Thread Björn Häuser
Hello, > On 31. Aug 2018, at 21:53, Shawn Heisey wrote: > > > As Walter hinted, ZooKeeper 3.4.x is not capable of dynamically > adding/removing servers to/from the ensemble. To do this successfully, all > ZK servers and all ZK clients must be upgraded to 3.5.x. Solr is a ZK client > when r