Re: BinaryResponseWriter fetches unnecessary fields?

2018-01-22 Thread Chris Hostetter
: Inside convertLuceneDocToSolrDoc(): : : : https://github.com/apache/lucene-solr/blob/df874432b9a17b547acb24a01d3491 : 839e6a6b69/solr/core/src/java/org/apache/solr/response/ : DocsStreamer.java#L182 : : :for (IndexableField f : doc.getFields()) : : : I am a bit puzzled why we need to

Re: LTR and features operating on children doc data

2018-01-22 Thread Dariusz Wojtas
No answers so far, but I have found a workaround that fits my needs. Maybe it will help somebody in the future. The solution is transparent to the client system. Use the XSLT response writer a. create a stylesheet that understands the query response XML format b. let's assume the query returns

Re: Preserve order during indexing

2018-01-22 Thread Mikhail Khludnev
Aashish, I believe you want to keep blocks in a segment boundaries. On Fri, Jan 19, 2018 at 6:52 AM, Aashish Agarwal wrote: > Hi, > > I need to index documents in solr so that they are stored in same order as > present in database. i.e *:* gives result in db order. Is it

Re: Authentication for Solr 6.4.2 , when deployed as WAR in tomcat

2018-01-22 Thread Shawn Heisey
On 1/22/2018 6:27 AM, D Dasaradha Rami Reddy wrote: > We have solr 6.4.2 currently deployed as war in tomcat. It doesn't have > authentication now. I want to setup the authentication for solr. When it > deployed as war in tomcat, The process specified in below page is not > working, Even after

Remove a node in SolrCloud

2018-01-22 Thread leobindaas
I have a SolrCloud setup - 3 ZKs and 3 Solrs (version 4.10.3). I would like to remove one of the nodes so that the setup is 3 ZKs and 2 Solrs. Can anyone tell me how I can accomplish this? I've tried google and all results I see point to removing shards or replicas only. -- Sent from:

Question about upgrading a Solr index to version 6

2018-01-22 Thread None
I'm a little new to Apache Solr and I'm trying to upgrade a Solr 1 store to Solr 6. The creators posted a quick upgrade guide, but since they initially started out using Lucene, I'm wondering if I need to perform some kind of upgrade with Lucene as I upgrade my Solr indices. I came across the

Highlighting keywords which are not in close proximity with in a field

2018-01-22 Thread sasarun
Hi All, Currently when I search for a phrase "Artificial Intelligence in space". keyword Artificial Intelligence is getting highlighted as number of occurrence of that word is more in the document. Most of its occurrence is mostly at the start of document. Whereas word Space is available in the

Authentication for Solr 6.4.2 , when deployed as WAR in tomcat

2018-01-22 Thread D Dasaradha Rami Reddy
Hi All, We have solr 6.4.2 currently deployed as war in tomcat. It doesn't have authentication now. I want to setup the authentication for solr. When it deployed as war in tomcat, The process specified in below page is not working, Even after adding security.json in solr home directory, curl

Re: SOLR Data Backup

2018-01-22 Thread Rick Leir
. > >BTW, why do we not recommend having Solr as a source of truth? > One reason is that you might want to tune the analysis chain and then reindex. Or your data gets progressively larger, and you want to be able to recover from an OOM during indexing. Rick -- Sorry for being brief.