Solr 5.4.0: Colored Highlight and multi-value field ?

2017-10-03 Thread Bruno Mannina
Dear all, Is it possible to have a colored highlight in a multi-value field ? I’m succeed to do it on a textfield but not in a multi-value field, then SOLR takes hl.simple.pre / hl.simple.post as tag. Thanks a lot for your help, Cordialement, Best Regards Bruno Mannina

Time to Load a Solr Core with Hdfs Directory Factory

2017-10-03 Thread Shashank Pedamallu
Hi, I’m trying an experiment in which, I’m loading a core of 1.27GB with 5621600 documents on 2 Solr setups. On first setup, dataDir is pointed as a NRTCachingDirectory as a standard path in my local. On second setup, it is pointed as HdfsDirectory. As part of loading the core, I see following

Re: DocValues error when upgrading to 6.6.1 from 6.5

2017-10-03 Thread Xie, Sean
I have figured out the problem. The schema was changed and index has been deleted and rebuilt since then. But the index files might still contain the old stale segments. I replayed the situation by restoring the old data using 6.5, then do the optimization, then upgrade the 6.6.1, and found

Re: Solr cloud planning

2017-10-03 Thread Shawn Heisey
On 10/3/2017 3:18 PM, gatanathoa wrote: I am trying to find what setup will give us the fastest searching. But I have not been able to find out this information with my internet searching. I have the possibility to have up to 16 identical servers for the index, what setup will get me the

Re: length of indexed value

2017-10-03 Thread Dave
I’d personally use your second option. Simple and straightforward if you can afford the time for a reindex > On Oct 3, 2017, at 6:23 PM, John Blythe wrote: > > hey all. > > was hoping to find a query function that would allow me to filter based on > the length of an

length of indexed value

2017-10-03 Thread John Blythe
hey all. was hoping to find a query function that would allow me to filter based on the length of an indexed value. only things i could find/think of would be one of two things: - use the strdist function to see how different things are (instead of comparing specific lengths) - create a new

Re: Solr cloud planning

2017-10-03 Thread John Bickerstaff
Others will comment I'm sure, but I'm suspicious the answer is that you can only know by testing. The kind and quantity of data in your indexes - the type of queries you normally receive, etc, etc... All these things will have an affect on your speed. For sure you don't want 15 Zookeepers.

Solr cloud planning

2017-10-03 Thread gatanathoa
I am trying to find what setup will give us the fastest searching. But I have not been able to find out this information with my internet searching. I have the possibility to have up to 16 identical servers for the index, what setup will get me the fastest searching? e.g. 8 shards, 8 replicas,

Solr 4.10 SSL with Sharded Collection

2017-10-03 Thread Tarala, Magesh
We have a 3 node solr cloud installation running on version 4.10. There is one collection that's sharded. After enabling SSL, we are unable to query the sharded collection. Getting this error: "no servers hosting shard:" I've googled and seen reports of this issue, but have not seen a

Re: How to Index JSON field Solr 5.3.2

2017-10-03 Thread Deeksha Sharma
Thanks Emir! Deeksha Sharma Software Engineer 215 2nd St #2, San Francisco, CA 94105. United States Desk: 6316817418 Mobile: +64 21 084 54203 dsha...@flexera.com www.flexera.com CONFIDENTIALITY NOTICE: This email message (including any attachments) is for the sole

Re: Solr 7 default Response now JSON instead of XML causing issues

2017-10-03 Thread Emir Arnautović
Hi Roland, You can use init params to define global defaults: https://lucene.apache.org/solr/guide/6_6/initparams-in-solrconfig.html Also, in the latest Solr (6.3+) you can define defaults for implicit handlers using

Re: Solr 6.5 remote JMX

2017-10-03 Thread Atita Arora
Hi Prashant, Did you restart the Solr with these options like : bin/solr start -c -h -d node2/ -z -m 3g -s node2/solr -a "-Dcom.sun.management.jmxremote.port=5556 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

Solr 6.5 remote JMX

2017-10-03 Thread Satyaprashant Bezwada
I am not able to connect to remote JMX using jconsole on Solr 6.5. The Solrconfig.xml does have this XML attribute that states the default MBean. I want to set up JMX so as to monitor the solr nodes. I have solr cloud configuration setup. I have set the ENABLE_REMOTE_JMX_OPTS="true" in

RE: Solr 7 default Response now JSON instead of XML causing issues

2017-10-03 Thread Roland Villemoes
Thanks Emir, I have actually done exactly that. But the application that uses Solr (Sitecore) is also using the admin/cores API. And for that I don't know how to add the wt=xml - since there are not "visible" handlers? Thanks Roland -Original Message- From: Emir Arnautović

Re: Default value from another field?

2017-10-03 Thread Alexandre Rafalovitch
I believe you should be able to use a combination of: http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/CloneFieldUpdateProcessorFactory.html and http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/FirstFieldValueUpdateProcessorFactory.html

RE: Default value from another field?

2017-10-03 Thread jimi.hullegard
Hi Emir, Thanks for the tip about DefaultValueUpdateProcessorFactory. But even though I agree that it most likely isn't too hard to write custom code that does this, the overhead is a bit too much I think considering we now use a vanilla Solr with no custom code deployed. So we would need to

RE: Moving to Point, trouble with IntPoint.newRangeQuery()

2017-10-03 Thread Markus Jelsma
Ok, it has been resolved. I was lucky to have spotted i was looking at the wrong schema fike! The one the test actually used was not yet updated from Trie to Point! Thanks! Markus -Original message- > From:Markus Jelsma > Sent: Tuesday 3rd October 2017

Re: Default value from another field?

2017-10-03 Thread Emir Arnautović
Hi Jimi, I don’t think that you can do it using schema, but you could do it using custom update request processor chain. I quickly scanned to see if there is such processor and could not find one. The closest one is

Re: Learning to rank - Bad Request

2017-10-03 Thread woodthom
Hi, please could you post the relevant config steps? I am able to get the techproducts example working from here: https://github.com/apache/lucene-solr/tree/master/solr/contrib/ltr/example but if I change to another index I get the error "No REST managed resource registered for path

RE: Moving to Point, trouble with IntPoint.newRangeQuery()

2017-10-03 Thread Markus Jelsma
Ok, i have stripped down the QParser to demonstrate the problem. This is the basic test with only one document in the index: public void testPointRange() throws Exception { assertU(adoc("id", "8", "digest1", "-1820898630")); assertU(commit()); assertQ( req("q", "{!qdigest

Default value from another field?

2017-10-03 Thread jimi.hullegard
Hi, Is it possible using some Solr schema magic to make solr get the default value for a field from another field? Ie, if the value is specified in the document to be indexed, then that value is used. Otherwise it uses the value of another field. As far as I understand it, the field property

SolrCloud 6.5.1 Error trying to proxy request for url

2017-10-03 Thread ankurgaikwad
Log - 2017-10-02 20:08:19.346 WARN (qtp1533664441-161957) [ ] o.e.j.h.HttpParser parse exception: java.lang.IllegalStateException: too much data seeking EOF in CLOSE for HttpChannelOverHttp@1aec8a82{r=1,c=false,a=IDLE,uri=null} 2017-10-02 20:08:19.409 ERROR (qtp1533664441-160833) [ ]

autoAddReplicas doesn't respect replicationFactor?

2017-10-03 Thread Radu Gheorghe
Hello, I'm trying to figure out if this is an issue or I'm doing something wrong. Basically, with Solr 6.6.1 running on HDFS (Hadoop 2.7.4), I see that if I create a one-shard collection with replicationFactor=1 (on one node), then add a second node, it creates a new replica on this new node. I

SoltCloud 6.5.1, down replica is not coming up.

2017-10-03 Thread ankurgaikwad
-- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html