Solr ACL Plugin Windows

2017-01-03 Thread sn00py
I am searching a SOLR ACL Plugin, i found this https://lucidworks.com/blog/2015/05/15/custom-security-filtering-solr-5/ but i don't know how i can compile the jave into to a jar - all Infos i found was how to complie it on linux - but this doesn't help. I am running solr version 6.3.0 on wi

Re: Random Streaming Function not there? SolrCloud 6.3.0

2017-01-03 Thread Joe Obernberger
Thanks! I'll give this a shot. -Joe On 1/3/2017 8:52 PM, Joel Bernstein wrote: Luckily https://issues.apache.org/jira/browse/SOLR-9103 is available in Solr 6.3 So you can register the random expression through the solrconfig. The ticket shows an example. Joel Bernstein http://joelsolr.blogs

Re: Random Streaming Function not there? SolrCloud 6.3.0

2017-01-03 Thread Joel Bernstein
Luckily https://issues.apache.org/jira/browse/SOLR-9103 is available in Solr 6.3 So you can register the random expression through the solrconfig. The ticket shows an example. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Jan 3, 2017 at 7:59 PM, Joel Bernstein wrote: > This is a bug. I

Re: Random Streaming Function not there? SolrCloud 6.3.0

2017-01-03 Thread Joel Bernstein
This is a bug. I just checked and the random expression is not mapped in the /stream handler. The test cases pass because they register the random function explicitly inside the test case. This is something that we need to fix, so the /stream handler registration always gets tested. I'm fairly sur

Random Streaming Function not there? SolrCloud 6.3.0

2017-01-03 Thread Joe Obernberger
I'm getting an error: {"result-set":{"docs":[ {"EXCEPTION":"Invalid stream expression random(MAIN,q=\"FULL_DOCUMENT:obamacare\",rows=100,fl=DocumentId) - function 'random' is unknown (not mapped to a valid TupleStream)","EOF":true}]}} When trying to use the streaming random function. I'm us

Re: CDCR logging is Needlessly verbose, fills up the file system fast

2017-01-03 Thread Shawn Heisey
On 1/3/2017 1:12 PM, Webster Homer wrote: > We use the default log4j.properties file which rolls the log file to > solr.log.1, solr.log.2 ... which isn't really the problem. What is > also happening is that solr.log.1 gets renamed to > solr_log_20170103_1110 with a timestamp as the file name. How d

Re: Boolean type supports docValues?

2017-01-03 Thread Yago Riveiro
Reading the actual documentation is not clear ... After test it, 6.3.0 indeed have docValues support for boolean type. Thanks Erick. -- /Yago Riveiro On 3 Jan 2017 10:39 +, Yago Riveiro , wrote: > Hi, > > The boolean type has support for DocValues? the documentation says that only > StrFie

Re: Boolean type supports docValues?

2017-01-03 Thread Erick Erickson
Have you tried it? If a JIRA is "close" and "fixed" then it's supported, docs may lag (I'm fixing that). Do note that there was a bug for booleans so you should use at least 6.2.1 Best, Erick On Tue, Jan 3, 2017 at 2:39 AM, Yago Riveiro wrote: > Hi, > > The boolean type has support for DocValue

RE: Can I use SolrJ 6.3.0 to talk to a Solr 5.2.3 server?

2017-01-03 Thread Jennifer Coston
Thanks for the responses! Shawn you are right, I'm using Solr 5.2.1 not 5.2.3. In the main code I am using the HttpSolrClient (we are calling it the SolrCatalogClient) and an EmbeddedSolrServer in the JUnit Tests that we use the SolrCatalogClient to query: private static SolrCatalogClient test

Re: create collection gets stuck on node restart

2017-01-03 Thread Erick Erickson
NOTE: Your problem is perfectly valid, this is something of a side issue. You shouldn't have a clusterstate.json in 6x. Or 5x either for that matter. More accurately it will be at most an empty node. instead, each collection should have a "state.json" file. There are a couple of reasons for this:

Re: how to achieve mulitple wild card searches in solr 5.2.1

2017-01-03 Thread Erick Erickson
My guess is that you're searching on a _tokenized_ field and that you'd get the results you expect on a string field.. Add &debug=query to the URL and you'll see what the parsed query is and that'll give you a very good idea of what's acaully happening. Best, Erick On Tue, Jan 3, 2017 at 7:16 AM

Re: CDCR logging is Needlessly verbose, fills up the file system fast

2017-01-03 Thread Webster Homer
So since the logging messages are not from an actual class, how do I suppress the CDCR INFO messages? I really do want normal INFO messages but they get swamped by CDCR. Even when CDCR issues a WARN message, it issues thousands of them. We use the default log4j.properties file which rolls the log

Re: Can I use SolrJ 6.3.0 to talk to a Solr 5.2.3 server?

2017-01-03 Thread Shawn Heisey
On 1/3/2017 10:35 AM, Jennifer Coston wrote: > I am running into a conflict with Solr and ElasticSearch. We are trying to > add support for Elastic Search 5.1.1 which requires Lucene 6.3.0 to an > existing system that uses Solr 5.2.3. At the moment I am using SolrJ 5.3.1 to > talk to the 5.2.3 S

Re: How to load plugins with Solr 4.9 and SolrCloud

2017-01-03 Thread Shawn Heisey
On 1/3/2017 11:20 AM, Jake Gillespie wrote: > When running on a single server, I followed the instructions here > . In short, I placed the jar > in a directory on the server, added this directory using the sharedLib > attribute to solr.xml and then used the

RE: How to load plugins with Solr 4.9 and SolrCloud

2017-01-03 Thread Markus Jelsma
Hello - try dropping libs in SOLR_HOME/lib, this always works for us, regardless of local or cloud mode. Markus -Original message- > From:Jake Gillespie > Sent: Tuesday 3rd January 2017 19:22 > To: solr-user@lucene.apache.org > Subject: How to load plugins with Solr 4.9 and SolrClo

Re: Can I use SolrJ 6.3.0 to talk to a Solr 5.2.3 server?

2017-01-03 Thread Furkan KAMACI
Hi Jennifer, Take a look at index compatibility beside dependencies. Here is the explanation: Index Format Changes Solr 6 has no support for reading Lucene/Solr 4.x and earlier indexes. Be sure to run the Lucene IndexUpgrader included with Solr 5.5 if you might still have old 4x formatted segme

How to load plugins with Solr 4.9 and SolrCloud

2017-01-03 Thread Jake Gillespie
Hi everyone, I'm trying to load a custom plugin with Solr 4.9. I'm able to do this running Solr 4.9 on a single server but not when running as a cluster. I'm hoping for some advice on how best to move forward, whether it be configuring the current infrastructure correctly or upgrading Solr. When

Can I use SolrJ 6.3.0 to talk to a Solr 5.2.3 server?

2017-01-03 Thread Jennifer Coston
Hello, I am running into a conflict with Solr and ElasticSearch. We are trying to add support for Elastic Search 5.1.1 which requires Lucene 6.3.0 to an existing system that uses Solr 5.2.3. At the moment I am using SolrJ 5.3.1 to talk to the 5.2.3 Server. I was hoping I could just update the S

Query Elevation Component as a Managed Resource

2017-01-03 Thread Furkan KAMACI
Hi, Can we access to Query Elevation Component as a Managed Resource? If not, I would like to add that functionality. Kind Regards, Furkan KAMACI

Re: Lib Directives in SolrConfig when using SolrCloud

2017-01-03 Thread Shawn Heisey
On 1/3/2017 8:29 AM, Bob Cook wrote: > Thanks Shawn. So I'm not insane! > > Is there a way to specify a "jar" load order? > I'm trying to use UIMA's concept mapper and it requires a particular load > order, otherwise it > doesn't instantiate and errors out. I was able to do this with the "lib" >

Re: CDCR logging is Needlessly verbose, fills up the file system fast

2017-01-03 Thread Alan Woodward
It’s org.apache.solr.core.SolrCore.Request - not an actual class. Alan Woodward www.flax.co.uk > On 3 Jan 2017, at 16:08, Webster Homer wrote: > > I am working on changing the log rotation, but looking at the message: > > 2016-12-21 23:24:41.653 INFO (qtp110456297-18) [c:sial-catalog-materia

Re: CDCR logging is Needlessly verbose, fills up the file system fast

2017-01-03 Thread Webster Homer
I am working on changing the log rotation, but looking at the message: 2016-12-21 23:24:41.653 INFO (qtp110456297-18) [c:sial-catalog-material s:shard1 r:core_node1 x:sial-catalog-material_shard1_replica1] o.a.s.c.S.Request [sial-catalog-material_shard1_replica1] webapp=/solr path=/cdcr params={

Re: Lib Directives in SolrConfig when using SolrCloud

2017-01-03 Thread Bob Cook
Thanks Shawn. So I'm not insane! Is there a way to specify a "jar" load order? I'm trying to use UIMA's concept mapper and it requires a particular load order, otherwise it doesn't instantiate and errors out. I was able to do this with the "lib" directives. Thanks again. Bob On Tue, Jan 3, 2

how to achieve mulitple wild card searches in solr 5.2.1

2017-01-03 Thread dinesh naik
Hi all, How can we achieve multiple wild card searches in solr? For example: I am searching for AB TEST1.EC*TEST2* But I get also results for AB TEST1.EC*TEST3*, AB TEST1.EC*TEST4*,? instead of AB TEST1.EC*TEST2* It seems only the first * is being considered, second * is not considered for wildca

Re: Unity.SolrNetIntegration with Solr basic-authentication

2017-01-03 Thread Shawn Heisey
On 1/3/2017 5:56 AM, Reagan Philip wrote: > Hi,I'm trying to use Unity.SolrNetIntegration with a > basic-authentication enabled Solr server but could not find any > details about it. I did create another post with more details > http://lucene.472066.n3.nabble.com/Solr-basic-authentication-with-Unit

Re: create collection gets stuck on node restart

2017-01-03 Thread Shawn Heisey
On 1/3/2017 2:59 AM, Hendrik Haddorp wrote: > I have a SolrCloud setup with 5 nodes and am creating collections with > a replication factor of 3. If I kill and restart nodes at the "right" > time during the creation process the creation seems to get stuck. > Collection data is left in the clusterst

Re: HDFS support maturity

2017-01-03 Thread Mike Thomsen
Cloudera defaults their Hadoop installation to use HDFS w/ their bundle of Solr (4.10.3) if that is any indication. On Tue, Jan 3, 2017 at 7:40 AM, Hendrik Haddorp wrote: > Hi, > > is the HDFS support in Solr 6.3 considered production ready? > Any idea how many setups might be using this? > > th

Unity.SolrNetIntegration with Solr basic-authentication

2017-01-03 Thread Reagan Philip
Hi,I'm trying to use Unity.SolrNetIntegration with a basic-authentication enabled Solr server but could not find any details about it. I did create another post with more details http://lucene.472066.n3.nabble.com/Solr-basic-authentication-with-Unity-SolrNetIntegration-tc4311494.htmlPlease help. Th

HDFS support maturity

2017-01-03 Thread Hendrik Haddorp
Hi, is the HDFS support in Solr 6.3 considered production ready? Any idea how many setups might be using this? thanks, Hendrik

deleting a collection leaves empty directories in an HDFS setup

2017-01-03 Thread Hendrik Haddorp
Hi, playing around with Solr 6.3 and HDFS I noticed that after deleting a collection the directories for the Solr cores are left in HDFS. There is no date left in them but still this doesn't look clean to me. regards, Hendrik

Boolean type supports docValues?

2017-01-03 Thread Yago Riveiro
Hi, The boolean type has support for DocValues? the documentation says that only StrField, UUIDField and Trie* numeric fields have support ( doc ) but I found this Jira issue SOLR-9187

create collection gets stuck on node restart

2017-01-03 Thread Hendrik Haddorp
Hi, I have a SolrCloud setup with 5 nodes and am creating collections with a replication factor of 3. If I kill and restart nodes at the "right" time during the creation process the creation seems to get stuck. Collection data is left in the clusterstate.json file in ZooKeeper and no collecti