Re: Problem in documentation -- authentication JSON fails validation

2017-06-24 Thread Chris Ulicny
I haven't actually tested it, but I believe the JSON should probably be this: { "set-permission": {"name": "update", "role":"dev"}, "set-permission": {"name": "read", "role":"guest"} } It's missing closing double quotes for 'update' and 'read' and had an extra comma after the 'guest' entry.

Problem in documentation -- authentication JSON fails validation

2017-06-24 Thread Shawn Heisey
This problem brought to you courtesy of the IRC channel. On this page of the reference guide: https://lucene.apache.org/solr/guide/6_6/rule-based-authorization-plugin.html There is this curl command: curl --user solr:SolrRocks -H 'Content-type:application/json' -d '{ "set-permission": {"name"

Re: Cross DC SolrCloud anti-patterns in presentation shalinmangar/cross-datacenter-replication-in-apache-solr-6

2017-06-24 Thread Shawn Heisey
On 6/24/2017 2:14 AM, Arcadius Ahouansou wrote: > Interpretation 1: > > - On slide 6 and 7: Only 2 DC used, so the ZK quorum will not survive and > recover after 1 DC failure > > - On slide 8: We have 3 DCs which OK for ZK. > But we have 6 ZK nodes. > This is a problem because ZK likes 3, 5, 7 ...

Re: Questions about typical/simple clustered Solr software and hardware architecture

2017-06-24 Thread Toke Eskildsen
ken edward wrote: > 2. Each node and zookeeper process ideally runs on it's own physical server? ZooKeepers, yes. Nodes, it depends. One reason to run multiple nodes on a single physical machine is to avoid large JVM heaps. Large JVM heaps can be problematic as major stop-the-world garbage col

Re: Boosting Documents using the field Value

2017-06-24 Thread Erik Hatcher
With dismax use bf=domain_ct. you can also use boost=domain_ct with edismax. > On Jun 23, 2017, at 23:01, govind nitk wrote: > > Hi Solr, > > My Index Data: > > id name category domain domain_ct > 1 Banana Fruits Home > Fruits > Banana 2 > 2 Orange Fruits Home > Fruits > Orange 4 > 3 Samsung

Cross DC SolrCloud anti-patterns in presentation shalinmangar/cross-datacenter-replication-in-apache-solr-6

2017-06-24 Thread Arcadius Ahouansou
Hello. This email is about the presentation at https://www.slideshare.net/shalinmangar/cross-datacenter- replication-in-apache-solr-6 On slides 6, 7 and 8, there are 3 anti-patterns. It seems there are many interpretations. Interpretation 1: - On slide 6 and 7: Only 2 DC used, so the ZK quoru

Re: Use of blanks in context filter field with AnalyzingInfixLookupFactory

2017-06-24 Thread Georg Sorst
Alfonso, I've run into similar issues with the context filter query, maybe this is caused by the StandardTokenizer. I've written a patch in SOLR-9968 that makes the analyzer for the context filter query configurable. This has helped me at least. SOLR-7963 also allows you to change the query parse