solrcloud 8.0.0 - debugQuery=on, exception

2019-06-19 Thread derrick cui
Hi all, I run a query in solr admin, it's ok if debugQuery=off, but it's throw an exception if I set debugQuery=on, please help, thanks there is debug stack: 2019-06-20 11:33:29.529 ERROR (qtp769429195-2324) [c:article s:shard2 r:core_node9 x:article_shard2_replica_n6] o.a.s.h.RequestHandlerBase

8.0 upgrade issue

2019-06-19 Thread Scott Yeadon
Hi, I’m running Solr on Ubuntu 18.04 (32-bit) using OpenJDK 10.0.2. Up until now I have had no problem with Solr (started running it since 4.x), however after upgrading from 7.x to 8.x I am getting serious memory issues. I have a small repository of 30,000 documents currently using Solr 7.1

Re: How to have Suggester to return part of the content instead of the entire content in Solr version 7.6.0?

2019-06-19 Thread ppunet
What would you recommend to use for the search field autocomplete functionality? Considering I have the whole pdf content, and the user can start searching for any term from the pdf. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: SOLR Suggester returns either the full field value or single terms only

2019-06-19 Thread ppunet
Hey, As the SuggeterComponent provides the 'entire content' of the field in the suggestions. How is it possible to have Suggester to return only part of the content of the field, instead of the entire content, which in my scenario quite long? -- Sent from:

Re: How to have Suggester to return part of the content instead of the entire content in Solr version 7.6.0?

2019-06-19 Thread Erick Erickson
you're mis-using suggester. It’s purpose is to return the entire contents of the “document”, to handle, specifically, multi-word suggestions, typically just a few words, often 2-4. Putting a large text field instead is outside the design. Also remember that the suggester is looking for the

synonyms.txt -> minimum match (~ mm)

2019-06-19 Thread Kojo
I have a synonyms.txt mapping some words. On my Solr 4.9, when I search a word that is in the synonyms.txt, the debugger shows bellow: "rawquerystring": "interleucina-6", "querystring": "interleucina-6", "parsedquery": "(+DisjunctionMaxQuerytext:interleucin text:interleucin

How to have Suggester to return part of the content instead of the entire content in Solr version 7.6.0?

2019-06-19 Thread ppunet
Here is my problem statement and I would really appreciate for your feedback. Solr version 7.6.0 1. There are 1000's of pdf's with large amount of content are indexed to Solr. 2. Using AnalyzingInfixSuggester for the suggestions. Q. As the SuggeterComponent provides the 'entire content' of the

Re: Solr's suggester results

2019-06-19 Thread ppunet
Here is my problem statement and I would really appreciate for your feedback. 1. There are 1000's of pdf's with large amount of content are indexed to Solr. 2. Using AnalyzingInfixSuggester for the suggestions. Q. As the SuggeterComponent provides the 'entire content' of the field in the

REINDEXCOLLECTION does not work with (basic) authentication

2019-06-19 Thread Colvin Cowie
Hello I'm on the Solr 8.1 branch off commit f26388d034fe5eadca7416aa63b509b8db2c7688 so I have the authentication fixes from SOLR-13510 (intermittent 401s for internode requests) When trying to use the new REINDEXCOLLECTION command with basic auth enabled, the daemon stream fails with repeated

Re: Solr 5.3 to 6.0

2019-06-19 Thread Erick Erickson
You cannot go from 5->8 true. However, you also cannot go from 5->6->7->8. As of Lucene 8, Lucene will refuse to open an index that has ever been touched by Lucene 6, no matter whether you’ve used IndexUpgraderTool, reindexed all your data etc. So you’ll have to plan on re-indexing from your

Re: creating date facets

2019-06-19 Thread Erick Erickson
There are two approaches I might use, which is really up to you. - You can do a regex filter. So define your extra fields as you want, then use a regex charFilter (NOT filter, you want to transform the entire input) to peel out the separate parts. Then copyfield to each one, each with a

creating date facets

2019-06-19 Thread Nightingale, Jonathan A (US)
Hi all, I'm trying to have a date field automatically generate some facets of itself, like hour of the day and hour of the week as examples, when its stored. I was looking at this tutorial and it deemed to almost do what I wanted

Re: Solr 5.3 to 6.0

2019-06-19 Thread ilango dhandapani
In solr reference guide, I read that need to go to next major version and cannot jump ahead next major verison, as indexes will not work. I did not attempt from 5.3 to 7.x or 8.x though. Thanks, Ilango -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 5.3 to 6.0

2019-06-19 Thread Erick Erickson
Got to the latest 6x release if you must stick with 6x. Why not leapfrog all the way to 8? Erick > On Jun 19, 2019, at 9:08 AM, ilango dhandapani > wrote: > > Shawn, > > Is it advisable to goto 6.6 or 6.0 from 5.3.0 ?' > > Thanks, > Ilango > > > > -- > Sent from:

Re: Solr 5.3 to 6.0

2019-06-19 Thread ilango dhandapani
Shawn, Is it advisable to goto 6.6 or 6.0 from 5.3.0 ?' Thanks, Ilango -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 5.3 to 6.0

2019-06-19 Thread ilango dhandapani
Thanks Shawn. It worked after i explicitly mentioned docValues=False for the fields am using in managed-schema. So in case if I need to re index from scratch in new version, is there any better way of doing that quickly ? Thanks, Ilango -- Sent from:

Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-19 Thread Shawn Heisey
On 6/19/2019 8:33 AM, rgummadi wrote: Still using Solr 4.6. Terms query parser does not exist in this version right? Correct. It was added in version 4.10.0. https://issues.apache.org/jira/browse/SOLR-6318 Thanks, Shawn

Re: Solr 7.7.2 - SolrCloud - SPLITSHARD - Using LINK method fails on disk usage checks

2019-06-19 Thread Andrew Kettmann
Entered issue: https://issues.apache.org/jira/browse/SOLR-13563 Please let me know if I need to include any other information. I have to say, props to anyone involved in making the "ant idea" target a thing. Makes it ridiculously easy for someone who can code, but not java specifically, to

Re: Issue with Solr 7.7.2 - ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence

2019-06-19 Thread Jason Gerlowski
Hi David, Thanks for the heads up. We'd hoped to put an end to these issues as a part of SOLR-13331, but missed some field types as you pointed out. We're aware of the issue and working on a fix for upcoming Solr versions. Anyone interested can watch our progress here:

Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-19 Thread rgummadi
Hi Erick, Still using Solr 4.6. Terms query parser does not exist in this version right? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

how to check Solr correction path?

2019-06-19 Thread Wendy2
Hi, How to check Solr correction path? I created a several collections in Solr 7.3.1. and use DIH to index mongoDB. How can I get the path for the current Solr correction where DIH is running? Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

ShardSplit with HDFS

2019-06-19 Thread Joe Obernberger
Hi All - I'm running an index in HDFS and trying to do a SHARDSPLIT.  It is returning that there is "not enough free disk space to perform index split".  It looks like it is using the local disk to determine free disk space instead of HDFS. Is there a way around this?  I'm running SolrCloud

Re: CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Shawn Heisey
On 6/19/2019 7:44 AM, Shawn Heisey wrote: The version of SolrJ that's included in Spring Boot 1.5.8 is 5.5.4 ... CloudSolrClient does not do well when the client version is significantly different than the server version.  Pairing a 5.5.4 client with a 4.10.3 server could be problematic.

Re: CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Shawn Heisey
On 6/19/2019 7:32 AM, Rushikesh Garadade wrote: I am using CloudSolrClient with Spring boot Solr 1.5.18.RELEASE and Solr Version is Solr 4.10.3. When using Spring's packaging of SolrJ, you need to talk to Spring about most problems you're having. They do more than simply include SolrJ and

CloudSolrClient :java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map . Related to "router" : "compositeId"

2019-06-19 Thread Rushikesh Garadade
Hello All, I am using CloudSolrClient with Spring boot Solr 1.5.18.RELEASE and Solr Version is Solr 4.10.3. new CloudSolrClient.Builder().withZkHost(zkHosts).withZkChroot(solrProperties.getSolrZookeeperLocation()).build(); When I use Solr which comes wth CDH 5.16.1 default when I save a

RE: Is it possible configure a single data-config.xml file for all the environments?

2019-06-19 Thread Hugo Angel Rodriguez
Thank you very much for your response. Sorry I did not answer before. I am validating the suggestions indicated Cordialmente, Hugo Rodríguez Rodríguez Sr Associate Technical Consultant | Professional Services  Tel: +  (571) 658-0888 extensión 1858 ▪ hugoangel.rodrig...@sas.com   SAS Institute

Re: Solr 7.7.2 - SolrCloud - SPLITSHARD - Using LINK method fails on disk usage checks

2019-06-19 Thread Andrzej Białecki
Hi Andrew, Please create a JIRA issue and attach this patch, I’ll look into fixing this. Thanks! > On 18 Jun 2019, at 23:19, Andrew Kettmann > wrote: > > Attached the patch, but that isn't sent out on the mailing list, my mistake. > Patch below: > > > > ### START > > diff --git >

Re: Filtering children of parent doc from the input domain

2019-06-19 Thread Mikhail Khludnev
Hello, Srijan. It's hard to grasp the problem without particular query and expected/actual results. On top of my head, it's possible to refine children by nesting query facet instruction under blockChildren one. On Tue, Jun