Re: How to have the same SOLR cores for both 8983 and 8984 ports

2019-01-18 Thread Muniraj M
Hi Jan,

Yes we would like to have the SOLR to be running only on 8984 port however
our concern is we are not able to see any cores created when the SOLR was
running on 8983.

Before enabling SSL, we were running our SOLR on port 8983 with 3 different
cores. After enabling SSL, SOLR is now running on 8984 however it has no
cores. We would like to have the same 3 cores to be available on 8984 port
as well.


On Mon, Jan 7, 2019 at 1:40 PM Jan Høydahl  wrote:

> Solr runs on only one port at a time, so there must be some
> misunderstanding here.
> If you have Solr running on both ports at the same time then you have
> simply
> started a new instance, not reconfigured the previous.
>
> For us to help you more, you will have to provide more details on how you
> have installed
> and started Solr, where your SOLR_HOME is located etc
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
>
> > 7. jan. 2019 kl. 05:54 skrev Muniraj M :
> >
> > Hi,
> >
> > I am using Apache SOLR 6.6.5 as my search engine running on port 8983. I
> > just wanted to enable SSL for solr and followed this guide
> >  to make it
> > work under 8984 port with SSL.
> >
> > Here my problem is that I am not able to see any cores on 8984 which is
> > already created under the port 8983(port without SSL).
> >
> > http://mywebsite.com:8983/solr/#/ ==> This have 3 cores
> >
> > https://mywebsite.com:8984/solr/#/ ==> This don't have any cores
> >
> > It will be really appreciated if anyone could provide the solution for
> > having the same cores for both 8983 and 8984 ports.
> >
> > Thanks
> >
> > --
> > Regards,
> > *Muniraj M*
>
>

-- 
Regards,
*Muniraj M*
*Project Lead*

*EWALL Solutions Pvt. Ltd.,*


*MOVE FORWARD!*


Address: No.9,Chitra Avenue, 602, Manju Block, 6th Floor, Choolaimedu High
Road,
Near Nungambakkam Railway Station, Chennai - 600 094.
Office: 044 - 42657308 | www.ewallsolutions.com


The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed. It may contain
confidential or legally privileged information. If you are not the intended
recipient you are hereby notified that any disclosure, copying,
distribution or taking any action in reliance on the contents of this
information is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
responding to this email and then delete it from your system.


Re: regarding debugging solr in eclipse

2019-01-18 Thread Erick Erickson
I use IntelliJ too, but I'm sure Eclipse has the same capability.
Don't get hung up on running Solr within your IDE. I find it very easy
to attach to a "remote" debugging session, takes about 10 seconds to
set up.

Also, it's often easier to _not_ run solr at all, but rather find a
unit test that gets you into the code you care about and step through
that.

Best,
Erick

On Fri, Jan 18, 2019 at 1:12 PM Doug Turnbull
 wrote:
>
> Not sure how accurate that post is anymore. Since then I switched to
> IntelliJ and life got easier :)
>
> On Fri, Jan 18, 2019 at 4:03 PM David Smiley 
> wrote:
>
> > On Fri, Jan 18, 2019 at 9:20 AM Scott Stults <
> > sstu...@opensourceconnections.com> wrote:
> >
> > > This blog article might help:
> > >
> > >
> > https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/
> > >
> > >
> > I don't use Eclipse but I believe things are better now than the
> > instructions given.  The setup for both Eclipse and IntelliJ have a "run
> > configuration" (or whatever it's called in Eclipse) and thus you needn't
> > manually at the CLI run things nor do you need to setup a new run config
> > with the ports set.
> >
> > ~ David
> >
> >
> > >
> > >
> > > On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE 
> > > wrote:
> > >
> > > > Can anybody tell me how to debug solr in eclipse, if possible how can I
> > > > build a maven project and launch the jetty server in debug mode?
> > > > Thanks. Regards
> > > >
> > >
> > >
> > > --
> > > Scott Stults | Founder & Solutions Architect | OpenSource Connections,
> > LLC
> > > | 434.409.2780 <(434)%20409-2780>
> > > http://www.opensourceconnections.com
> > >
> > --
> > Lucene/Solr Search Committer (PMC), Developer, Author, Speaker
> > LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
> > http://www.solrenterprisesearchserver.com
> >
> --
> *Doug Turnbull **| CTO* | OpenSource Connections
> , LLC | 240.476.9983
> Author: Relevant Search 
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless
> of whether attachments are marked as such.


Re: regarding debugging solr in eclipse

2019-01-18 Thread Doug Turnbull
Not sure how accurate that post is anymore. Since then I switched to
IntelliJ and life got easier :)

On Fri, Jan 18, 2019 at 4:03 PM David Smiley 
wrote:

> On Fri, Jan 18, 2019 at 9:20 AM Scott Stults <
> sstu...@opensourceconnections.com> wrote:
>
> > This blog article might help:
> >
> >
> https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/
> >
> >
> I don't use Eclipse but I believe things are better now than the
> instructions given.  The setup for both Eclipse and IntelliJ have a "run
> configuration" (or whatever it's called in Eclipse) and thus you needn't
> manually at the CLI run things nor do you need to setup a new run config
> with the ports set.
>
> ~ David
>
>
> >
> >
> > On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE 
> > wrote:
> >
> > > Can anybody tell me how to debug solr in eclipse, if possible how can I
> > > build a maven project and launch the jetty server in debug mode?
> > > Thanks. Regards
> > >
> >
> >
> > --
> > Scott Stults | Founder & Solutions Architect | OpenSource Connections,
> LLC
> > | 434.409.2780 <(434)%20409-2780>
> > http://www.opensourceconnections.com
> >
> --
> Lucene/Solr Search Committer (PMC), Developer, Author, Speaker
> LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
> http://www.solrenterprisesearchserver.com
>
-- 
*Doug Turnbull **| CTO* | OpenSource Connections
, LLC | 240.476.9983
Author: Relevant Search 
This e-mail and all contents, including attachments, is considered to be
Company Confidential unless explicitly stated otherwise, regardless
of whether attachments are marked as such.


Re: regarding debugging solr in eclipse

2019-01-18 Thread David Smiley
On Fri, Jan 18, 2019 at 9:20 AM Scott Stults <
sstu...@opensourceconnections.com> wrote:

> This blog article might help:
>
> https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/
>
>
I don't use Eclipse but I believe things are better now than the
instructions given.  The setup for both Eclipse and IntelliJ have a "run
configuration" (or whatever it's called in Eclipse) and thus you needn't
manually at the CLI run things nor do you need to setup a new run config
with the ports set.

~ David


>
>
> On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE 
> wrote:
>
> > Can anybody tell me how to debug solr in eclipse, if possible how can I
> > build a maven project and launch the jetty server in debug mode?
> > Thanks. Regards
> >
>
>
> --
> Scott Stults | Founder & Solutions Architect | OpenSource Connections, LLC
> | 434.409.2780 <(434)%20409-2780>
> http://www.opensourceconnections.com
>
-- 
Lucene/Solr Search Committer (PMC), Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com


solr-query

2019-01-18 Thread Shilpa Solanki
Hello,

 can you ask me how we use synonyms with apache solr.


Thanks & Regards,
Shilpa solanki


Re: Need help on Solr authorization

2019-01-18 Thread Scott Stults
My guess is that you're using a self-signed cert and the certificate path
can't be verified. Either that or your cert was signed by a CA that your
JVM doesn't recognize. There's a good article about diagnosing SSL problems
here:

https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html


Good luck!
-Scott

On Fri, Jan 18, 2019 at 6:03 AM sathish kumar 
wrote:

> Hi,
> Anyone got a chance to have a look at the issue i had posted?
> Please throw some inputs.
>
> -Sathish
>
> On Fri, 11 Jan 2019, 8:10 pm sathish kumar, 
> wrote:
>
> > Hi,
> >
> > We have a two node Solr setup(version is 7.2.1) with embedded zookeeper
> > running in Solr Server 1.
> >
> > We have recently enabled SSL and also enabled basic authentication and
> > RuleBasedAuthorizationPlugin.
> >
> > As part of testing, created new user with admin role and assigned the
> > permissions "collection-admin-read" & “read” to this role.
> >
> > When I try to query a data for any collection name, the system is unable
> > to talk with shards of other server.
> >
> > I am getting the following error in both command line and Solr admin
> > browser.
> >
> > Can someone help me to identify what configurations I am missing? Let me
> > know if you need any more info.
> >
> >
> >
> > Followed this url for SSL setup:
> > https://lucene.apache.org/solr/guide/7_2/enabling-ssl.html
> >
> > Command used: curl --cacert solr-ssl.cacert.pem --user solr:SolrRocks
> > https://solr-node-1:8080/solr//select?q=*:*
> >
> >
> > Error:
> >
> > {
> >
> >   "error":{
> >
> > "metadata":[
> >
> >   "error-class","org.apache.solr.common.SolrException",
> >
> >
> >
> "root-error-class","sun.security.provider.certpath.SunCertPathBuilderException"],
> >
> > "msg":"Error trying to proxy request for url:
> > https://solr-node-2:8080/solr/ba_test/select";,
> >
> > "trace":"org.apache.solr.common.SolrException: Error trying to proxy
> > request for url: https://solr-node-2:8080/solr/ba_test/select\n\tat
> >
> org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:646)\n\tat
> > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:500)\n\tat
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)\n\tat
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)\n\tat
> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)\n\tat
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)\n\tat
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
> >
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\n\tat
> >
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\n\tat
> >
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)\n\tat
> >
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\n\tat
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat
> >
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
> >
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)\n\tat
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
> > org.eclipse.jetty.server.Server.handle(Server.java:534)\n\tat
> > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)\n\tat
> >
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)\n\tat
> > org.eclipse.jetty.io
> .AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\n\tat
> > org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\n\tat
> >
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:251)\n\tat
> > org.eclipse.jetty.io
> .AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\n\tat
> > org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\n\tat
> > org.eclipse.jetty.io
> .SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat
> >
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\n\tat
> >
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\n\tat
> >
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\n\tat
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\n

Re: [QA-search] About field setting

2019-01-18 Thread Scott Stults
No, you have to tokenize before you filter, but the Keyword tokenizer
outputs the whole input text as a single token.

On Thu, Jan 17, 2019 at 11:36 PM 유정인  wrote:

> hi
> Can you use multiple query analyzers to search for or?
>
> Ex)
>
>  positionIncrementGap="100" multiValued="true">
>
> 
>
>   
>
>ignoreCase="true"/>
>
>   
>
> 
>
> 
>
>   
>
>ignoreCase="true"/>
>
>   
>
> 
>
> 
>
>   
>
>ignoreCase="true"/>
>
>ignoreCase="true" synonyms="synonyms.txt"/>
>
>   
>
> 
>
> 
>
>
>
> Can you get synonyms to run before tokenzier?
>
> Ex)
>
>  positionIncrementGap="100" multiValued="true">
>
> 
>
>   
>
>ignoreCase="true"/>
>
>   
>
> 
>
> 
>
> ignoreCase="true" synonyms="synonyms.txt"/>
>
>   
>
>ignoreCase="true"/>
>
> 
>
> 
>
> 
>
>
>
>
>
> thanks
>
>

-- 
Scott Stults | Founder & Solutions Architect | OpenSource Connections, LLC
| 434.409.2780
http://www.opensourceconnections.com


Re: regarding debugging solr in eclipse

2019-01-18 Thread Scott Stults
This blog article might help:
https://opensourceconnections.com/blog/2013/04/13/how-to-debug-solr-with-eclipse/



On Fri, Jan 18, 2019 at 6:53 AM SAGAR INGALE 
wrote:

> Can anybody tell me how to debug solr in eclipse, if possible how can I
> build a maven project and launch the jetty server in debug mode?
> Thanks. Regards
>


-- 
Scott Stults | Founder & Solutions Architect | OpenSource Connections, LLC
| 434.409.2780
http://www.opensourceconnections.com


regarding debugging solr in eclipse

2019-01-18 Thread SAGAR INGALE
Can anybody tell me how to debug solr in eclipse, if possible how can I
build a maven project and launch the jetty server in debug mode?
Thanks. Regards


Re: Solr Size Limitation upto 32 kb limitation

2019-01-18 Thread Bernd Fehling

Hi,

assuming you have a fieldType for "text_general" defined in your schema, change 
from:



to:




Regards,
Bernd


Am 18.01.19 um 11:51 schrieb Kranthi Kumar K:

Hi team,

Thank you Erick Erickson ,Bernd Fehling , Jan Hoydahl for your suggested 
solutions. I've tried the suggested one's and still we are unable to import files 
havingsize  >32 kb, it is displaying same error.

Below link has the suggested solutions. Please have a look once.

http://lucene.472066.n3.nabble.com/Solr-Size-Limitation-upto-32-KB-files-td4419779.html


   1.  As per Erick Erickson, I've changed the string type to Text type based 
and still the issue occurs .

I've changed from :







Changed to:







If we do so, it is showing error in the log, please find the error in the 
attachment.



If I change to:







It is not showing any error , but the issue still exists.



   1.  As per Jan Hoydahl, I have gone through the link that you have provided 
and checked 'requestParsers' tag in solrconfig.xml,



RequestParsers tag in our application is as follows:



''

Request parsers, which we are using and in the link you have provided are similar. 
And still we are unable to import the files size >32 kb.



   1.  As per Bernd Fehling, we are using Solr 4.10.2. you have mentioned as,
'If you are trying to add larger content then you have to "chop" that
by yourself and add it as multivalued. Can be done within a self written 
loader. '


I'm a newbie to Solr and I didn't get what exactly 'self written loader' is?



Could you please provide us sample code, that helps us to go further?


[image001]
Thanks & Regards,
Kranthi Kumar.K,
Software Engineer,
Ccube Fintech Global Services Pvt Ltd.,
Email/Skype: 
kranthikuma...@ccubefintech.com,
Mobile: +91-8978078449.


From: Kranthi Kumar K 
Sent: Thursday, January 17, 2019 12:43 PM
To: d...@lucene.apache.org; solr-user@lucene.apache.org
Cc: Ananda Babu medida ; Srinivasa Reddy Karri 
; Michelle Ngo 
Subject: Re: Solr Size Limitation upto 32 kb limitation


Hi Team,



Can we have any updates on the below issue? We are awaiting your reply.



Thanks,

Kranthi kumar.K


From: Kranthi Kumar K
Sent: Friday, January 4, 2019 5:01:38 PM
To: d...@lucene.apache.org
Cc: Ananda Babu medida; Srinivasa Reddy Karri
Subject: Solr Size Limitation upto 32 kb limitation


Hi team,



We are currently using Solr 4.2.1 version in our project and everything is 
going well. But recently, we are facing an issue with Solr Data Import. It is 
not importing the files with size greater than 32766 bytes (i.e, 32 kb) and 
showing 2 exceptions:



   1.  java.lang.illegalargumentexception
   2.  org.apache.lucene.util.bytesref hash$maxbyteslengthexceededexception



Please find the attached screenshot for reference.



We have searched for solutions in many forums and didn't find the exact 
solution for this issue. Interestingly, we found in the article, by changing 
the type of the 'field' from sting to  'text_general' might solve the issue. 
Please have a look in the below forum:



https://stackoverflow.com/questions/29445323/adding-a-document-to-the-index-in-solr-document-contains-at-least-one-immense-t



Schema.xml:

Changed from:

''



Changed to:

''



We have tried it but still it is not importing the files > 32 KB or 32766 bytes.



Could you please let us know the solution to fix this issue? We'll be awaiting 
your reply.




Re: Need help on Solr authorization

2019-01-18 Thread sathish kumar
Hi,
Anyone got a chance to have a look at the issue i had posted?
Please throw some inputs.

-Sathish

On Fri, 11 Jan 2019, 8:10 pm sathish kumar, 
wrote:

> Hi,
>
> We have a two node Solr setup(version is 7.2.1) with embedded zookeeper
> running in Solr Server 1.
>
> We have recently enabled SSL and also enabled basic authentication and
> RuleBasedAuthorizationPlugin.
>
> As part of testing, created new user with admin role and assigned the
> permissions "collection-admin-read" & “read” to this role.
>
> When I try to query a data for any collection name, the system is unable
> to talk with shards of other server.
>
> I am getting the following error in both command line and Solr admin
> browser.
>
> Can someone help me to identify what configurations I am missing? Let me
> know if you need any more info.
>
>
>
> Followed this url for SSL setup:
> https://lucene.apache.org/solr/guide/7_2/enabling-ssl.html
>
> Command used: curl --cacert solr-ssl.cacert.pem --user solr:SolrRocks
> https://solr-node-1:8080/solr//select?q=*:*
>
>
> Error:
>
> {
>
>   "error":{
>
> "metadata":[
>
>   "error-class","org.apache.solr.common.SolrException",
>
>
>
> "root-error-class","sun.security.provider.certpath.SunCertPathBuilderException"],
>
> "msg":"Error trying to proxy request for url:
> https://solr-node-2:8080/solr/ba_test/select";,
>
> "trace":"org.apache.solr.common.SolrException: Error trying to proxy
> request for url: https://solr-node-2:8080/solr/ba_test/select\n\tat
> org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:646)\n\tat
> org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:500)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)\n\tat
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)\n\tat
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)\n\tat
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)\n\tat
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\n\tat
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)\n\tat
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\n\tat
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)\n\tat
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)\n\tat
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)\n\tat
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat
> org.eclipse.jetty.server.Server.handle(Server.java:534)\n\tat
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)\n\tat
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)\n\tat
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\n\tat
> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\n\tat
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:251)\n\tat
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)\n\tat
> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)\n\tat
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\n\tat
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\n\tat
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\n\tat
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\n\tat
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\n\tat
> java.lang.Thread.run(Thread.java:748)\nCaused by:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target\n\tat
> sun.security.ssl.Alerts.getSSLException(Alerts.java:192)\n\tat
> sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)\n\tat
> sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)\n\tat
> sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)\n\tat

RE: Solr Size Limitation upto 32 kb limitation

2019-01-18 Thread Kranthi Kumar K
Hi team,

Thank you Erick Erickson ,Bernd Fehling , Jan Hoydahl for your suggested 
solutions. I've tried the suggested one's and still we are unable to import 
files havingsize  >32 kb, it is displaying same error.

Below link has the suggested solutions. Please have a look once.

http://lucene.472066.n3.nabble.com/Solr-Size-Limitation-upto-32-KB-files-td4419779.html


  1.  As per Erick Erickson, I've changed the string type to Text type based 
and still the issue occurs .

I've changed from :







Changed to:







If we do so, it is showing error in the log, please find the error in the 
attachment.



If I change to:







It is not showing any error , but the issue still exists.



  1.  As per Jan Hoydahl, I have gone through the link that you have provided 
and checked 'requestParsers' tag in solrconfig.xml,



RequestParsers tag in our application is as follows:



''

Request parsers, which we are using and in the link you have provided are 
similar. And still we are unable to import the files size >32 kb.



  1.  As per Bernd Fehling, we are using Solr 4.10.2. you have mentioned as,
'If you are trying to add larger content then you have to "chop" that
by yourself and add it as multivalued. Can be done within a self written 
loader. '


I'm a newbie to Solr and I didn't get what exactly 'self written loader' is?



Could you please provide us sample code, that helps us to go further?


[image001]
Thanks & Regards,
Kranthi Kumar.K,
Software Engineer,
Ccube Fintech Global Services Pvt Ltd.,
Email/Skype: 
kranthikuma...@ccubefintech.com,
Mobile: +91-8978078449.


From: Kranthi Kumar K 
Sent: Thursday, January 17, 2019 12:43 PM
To: d...@lucene.apache.org; solr-user@lucene.apache.org
Cc: Ananda Babu medida ; Srinivasa Reddy 
Karri ; Michelle Ngo 

Subject: Re: Solr Size Limitation upto 32 kb limitation


Hi Team,



Can we have any updates on the below issue? We are awaiting your reply.



Thanks,

Kranthi kumar.K


From: Kranthi Kumar K
Sent: Friday, January 4, 2019 5:01:38 PM
To: d...@lucene.apache.org
Cc: Ananda Babu medida; Srinivasa Reddy Karri
Subject: Solr Size Limitation upto 32 kb limitation


Hi team,



We are currently using Solr 4.2.1 version in our project and everything is 
going well. But recently, we are facing an issue with Solr Data Import. It is 
not importing the files with size greater than 32766 bytes (i.e, 32 kb) and 
showing 2 exceptions:



  1.  java.lang.illegalargumentexception
  2.  org.apache.lucene.util.bytesref hash$maxbyteslengthexceededexception



Please find the attached screenshot for reference.



We have searched for solutions in many forums and didn't find the exact 
solution for this issue. Interestingly, we found in the article, by changing 
the type of the 'field' from sting to  'text_general' might solve the issue. 
Please have a look in the below forum:



https://stackoverflow.com/questions/29445323/adding-a-document-to-the-index-in-solr-document-contains-at-least-one-immense-t



Schema.xml:

Changed from:

''



Changed to:

''



We have tried it but still it is not importing the files > 32 KB or 32766 bytes.



Could you please let us know the solution to fix this issue? We'll be awaiting 
your reply.