Re: NPE when using timeAllowed in the /export handler

2017-01-21 Thread radha krishnan
can you give some estimate on when they will be compatible . with out this, we cannot use timeAllowed with the map reduce mode of /sql handler right Thanks, Radhakrishnan D On Sat, Jan 21, 2017 at 6:03 PM, Joel Bernstein wrote: > I'm pretty sure that time allowed and the /export handler are no

Re: NPE when using timeAllowed in the /export handler

2017-01-21 Thread Joel Bernstein
I'm pretty sure that time allowed and the /export handler are not currently compatible. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jan 20, 2017 at 8:57 PM, radha krishnan wrote: > Hi, > > am trying to query a core with 60 million docs by specifying timeAllowed as > 100 ms just to test

Re: Streams return default values for fields that doesn't exist in the document

2017-01-21 Thread Joel Bernstein
Also take a look at: http://joelsolr.blogspot.com/2016/10/solr-63-batch-jobs-parallel-etl-and.html It describes a very flexible approach to do batch re-indexing jobs. Joel Bernstein http://joelsolr.blogspot.com/ On Sat, Jan 21, 2017 at 6:44 PM, Yago Riveiro wrote: > 6.3.0 > > I will try again

Re: Streams return default values for fields that doesn't exist in the document

2017-01-21 Thread Yago Riveiro
6.3.0 I will try again with 6.4.0 Thank Erick -- /Yago Riveiro On 21 Jan 2017, 21:23 +, Erick Erickson , wrote: > What version of Solr? See: https://issues.apache.org/jira/browse/SOLR-9166 > > Best, > Erick > > On Sat, Jan 21, 2017 at 1:08 PM, Yago Riveiro wrote: > > I'm trying to use the

Re: Streams return default values for fields that doesn't exist in the document

2017-01-21 Thread Erick Erickson
What version of Solr? See: https://issues.apache.org/jira/browse/SOLR-9166 Best, Erick On Sat, Jan 21, 2017 at 1:08 PM, Yago Riveiro wrote: > I'm trying to use the streaming API to reindex data from one collection to > another. > > I have a lot of dynamic fields on my documents and not every doc

Streams return default values for fields that doesn't exist in the document

2017-01-21 Thread Yago Riveiro
I'm trying to use the streaming API to reindex data from one collection to another. I have a lot of dynamic fields on my documents and not every document has the same fields, therefore, to fetch the list if fields that exists in the collection, I need to run a luke query to fetch all of them. I r

Re: A collection gone missing: uninteresting collection

2017-01-21 Thread Chetas Joshi
Is this visible in the logs? I mean how do I find out that a "DELETE collection" API​ call was made? Is the following indicative of the fact that the API call was made? 2017-01-20 20:42:39,822 INFO org.apache.solr.cloud. ShardLeaderElectionContextBase: Removing leader registration node on cancel:

Re: A collection gone missing: uninteresting collection

2017-01-21 Thread Erick Erickson
Looks like someone issued a Collections API DELETE command. On Fri, Jan 20, 2017 at 9:56 PM, Chetas Joshi wrote: > Hello, > > I have been running Solr (5.5.0) on HDFS. > > Recently a collection just went missing with all the instanceDirs and > Datadirs getting deleted. The following logs in the s

Re: DIH do not work. Child-entity cannot refer parent's id.

2017-01-21 Thread Keiichi MORITA
Hi Shawn, Thank you for helpful information and suggestions. > Are you using the Oracle JVM? This is recommended. Version 1.8.x (Java > 8) > is required for Solr 6.3.0. I'm using Oracle Java 8 (1.8.0_111). In response to your advice, I've changed the logging level for JdbcDataSource to DEBUG

RE: Solrj similarity setting

2017-01-21 Thread Markus Jelsma
No, this is not possible. A similarity is an index time setting because it can have index time properties. There is no way to control this query time. M -Original message- > From:Farida Sabry > Sent: Saturday 21st January 2017 9:58 > To: solr-user@lucene.apache.org > Subject: Solrj

Solrj similarity setting

2017-01-21 Thread Farida Sabry
Is there a way to set the similarity in Solrj query search like we do for lucene IndexSearcher e.g. searcher.setSimilarity(sim); I need to define a custom similarity and at the same time get the fields provided by SolrInputDocument in the returned results by SolrDocumentList results = QueryRespons