Re: copy field

2018-07-12 Thread Anil
Thanks Andrea. i will write update processor in index pipe line. I feel this is very good feature to support. Thanks, Anil On 12 July 2018 at 22:59, Andrea Gazzarini wrote: > Hi Anil, > The copy Field directive is not what you're looking for because it doesn't > change the stored value of a

Re: copy field

2018-07-12 Thread Anil
HI Eric, i have a schema with a date field (tweetedDate) with 10-23-2017 10:15:00 format. Same schema is used with number of collections. i have to index the date field with different formats in different collections. lets says collections as collection-day, collection-hour, etc if the date

Re: Number of fields in a solrCloud collection config

2018-07-12 Thread Sharif Shahriar
Hi Erick, Thank you for your suggestions. Regards, Sharif -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: CloudSolrClient URL Too Long

2018-07-12 Thread Shawn Heisey
On 7/12/2018 12:48 PM, Joe Obernberger wrote: > Hi - I'm using SolrCloud 7.3.1 and calling a search from Java using: > > org.apache.solr.client.solrj.response.QueryResponse response = > CloudSolrClient.query(ModifiableSolrParams) > > If the ModifiableSolrParams are long, I get an error: > Bad

Re: copy field

2018-07-12 Thread Terry Steichen
Gus, Perhaps you might try the technique described in the forwarded exchange below.  It has been working very nicely for me. Terry Forwarded Message Subject:Re: Changing Field Assignments Date: Tue, 12 Jun 2018 12:21:16 +0900 From: Yasufumi

Re: CloudSolrClient URL Too Long

2018-07-12 Thread Alexandre Rafalovitch
Have you tried using POST, instead of GET: https://lucene.apache.org/solr/7_3_0//solr-solrj/org/apache/solr/client/solrj/SolrClient.html#query-java.lang.String-org.apache.solr.common.params.SolrParams-org.apache.solr.client.solrj.SolrRequest.METHOD- Also, if you have a set of parameters that do

CloudSolrClient URL Too Long

2018-07-12 Thread Joe Obernberger
Hi - I'm using SolrCloud 7.3.1 and calling a search from Java using: org.apache.solr.client.solrj.response.QueryResponse response = CloudSolrClient.query(ModifiableSolrParams) If the ModifiableSolrParams are long, I get an error: Bad Message 414reason: URI Too Long I have the maximum number

Re: copy field

2018-07-12 Thread Gus Heck
XY question not withstanding, this is exactly the sort of thing one might want to do in their indexing pipeline. For example: https://github.com/nsoft/jesterj/blob/master/code/ingest/src/main/java/org/jesterj/ingest/processors/SimpleDateTimeReformatter.java On Thu, Jul 12, 2018 at 1:34 PM, Erick

Re: Local Params handling (6.5->7.x)

2018-07-12 Thread Adam Constabaris
Thanks Joel, that's it! I had tried all sorts of variants on the search terms but somehow missed that issue (probably because my eyes glazed over before getting to the 7.2 upgrade notes). While we were negatively impacted by the change, given the existence of a simple workaround (anybody coming

Re: copy field

2018-07-12 Thread Erick Erickson
This seems like an XY problem, you've asked how to do X without explaining _why_ (the Y). If this is just because you want to search the field without having to specify the full string, consider a DateRangeField. Best, Erick On Thu, Jul 12, 2018 at 10:22 AM, Anil wrote: > HI, > > i have a date

Re: copy field

2018-07-12 Thread Andrea Gazzarini
Hi Anil, The copy Field directive is not what you're looking for because it doesn't change the stored value of a field. What you need is an Update Request Processor, which is a kind of interceptor in the indexing chain (i.e. It allows you to change an incoming document before it gets indexed).

copy field

2018-07-12 Thread Anil
HI, i have a date field which needs to copied to different field with different format/value. is there any way to achieve this using copy field ? or needs to be done when creating solr document itself. lets say createdDate is 10-23-2017 10:15:00, it needs to be copied to transformedDate field

Re: Local Params handling (6.5->7.x)

2018-07-12 Thread Joel Bernstein
This may be the issue: https://issues.apache.org/jira/browse/SOLR-11501 If it turns out that this causing the problem, please create a jira. It's important to discuss how SOLR-11501 is affecting real deployments. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Jul 12, 2018 at 12:30 PM,

Local Params handling (6.5->7.x)

2018-07-12 Thread Adam Constabaris
Hi folks, I am trying to track down what might have changed and where i could tweak a configuration that worked under Solr 6.5.1 but which is not working as expected under 7.3.1 or 7.4.0. We have default "qf" and "pf" defeined for our select handler, along with "special" versions of those for use

SOLR json request API syntax on facet domain with filter & field list

2018-07-12 Thread jeebix
Hello everybody, I work on a SOLR version 6.0.0. I use the JSON request API to facet the results. Here is a SOLR query example :

Re: Hackdays in October, London & Montreal

2018-07-12 Thread Sameer Maggon
Charlie, I might be able to get sponsorship from SearchStax for eve/drinks in Montreal. Do you want to start a thread offline? Sameer. On Thu, Jul 12, 2018 at 4:28 AM Charlie Hull wrote: > Hi all, > > A couple of years ago I ran two free Lucene Hackdays in London and > Boston (the latter just

Hackdays in October, London & Montreal

2018-07-12 Thread Charlie Hull
Hi all, A couple of years ago I ran two free Lucene Hackdays in London and Boston (the latter just before Lucene Revolution). Here's what we got up to with the kind support of Alfresco, Bloomberg, BA Insight and Lucidworks

Re: Solr7.3.1 Installation

2018-07-12 Thread tapan1707
Thanks, everyone for your replies. I tried using "-Dtests.badapples=false" flag but it didn't help. I will try again without *ant test* command. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Unified highlighter

2018-07-12 Thread Julien Massiera
Hi Solr community, I would like some help with a strange behavior that I observe on the unified highlighter. Here is the configuration of my highlighter : on unified false span class="em" /span content_fr content_en exactContent true CHARACTER html 200 51200 I indexed some html documents

Re: Number of fields in a solrCloud collection config

2018-07-12 Thread Sharif Shahriar
Thanks a lot Shawn for your reply. I'm using SolrCloud v7.3 and using schema-less approach. I add documents and new fields automatically added in managed-schema files. I've tried it several times and it stops at around 13,500 fields. If I try to add fields using SolrCloud API I can add them, but

Re: Maximum number of SolrCloud collections in limited hardware resource

2018-07-12 Thread Sharif Shahriar
Thanks a lot Shawn for your details reply. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Access to Jira

2018-07-12 Thread Ruchir Choudhry
Thank you Erick , Will follow the guidelines shared by you. Regards, Ruchir On Wed, Jul 11, 2018 at 5:26 PM, Erick Erickson wrote: > You need to create a JIRA account. That said, I don't believe you can > do things like assign tickets to yourself or the like unless you are a > committer. >

compositeid router issue post collection restore.

2018-07-12 Thread Anil
HI, i am trying solr backup and restore functionality. i have restored a collection in solr cloud cluster. and _route_ in solr search query is failing with following exception. Error - implicit router can't find shard i have checked the collection status in clusterstate.json and it is looking