RE: Help Needed - Indexing Related
Information Classification: ** Limited Access Team, Fyi..Deleting the indexing job queue table resolved the issue and it generated the index files. Thank you, Dutt _ From: YELESWARAPU, VENKATA BHAN Sent: Tuesday, March 27, 2018 8:08 AM To: 'solr-user@lucene.apache.org' Subject: Help Needed - Indexing Related Information Classification: ** Limited Access Hi Solr Team, Hope you are doing well. I have been struggling with indexing for a week now. Yesterday I deleted all indexing files and tried re-indexing. It failed saying unable to open a new searcher. Also that _0.si file is missing. Today I redeployed the whole application and tried indexing. Now facing the below issues. If you could guide me on this or if there is any documentation around this, that would greatly help. Appreciate your time on this. 2018-03-27 07:53:59,896 DEBUG (DefaultdatabaseFunctions.java:319) - lock [SolrIndexingJobReadFromQueue] acquired 2018-03-27 07:53:59,924 DEBUG (SolrIndexingJob.java:193) - done sleeping 2018-03-27 07:53:59,929 DEBUG (DefaultdatabaseFunctions.java:313) - lock [SolrIndexingJobReadFromQueue] already exists, will try updating it now 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096854 not fetched because its identifier appears to be already in processing 2018-03-27 07:54:31,128 WARN (SolrIndexingJob.java:107) - Solr indexing job failed java.lang.IndexOutOfBoundsException: Index: 16, Size: 10 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.set(ArrayList.java:426) at com.actimize.dao.DaoUtil.orderList(DaoUtil.java:215) at com.actimize.dao.AlertDaoImpl.findAlertsByIdentifierForIndexing(AlertDaoImpl.java:2347) at sun.reflect.GeneratedMethodAccessor2119.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.actimize.infrastructure.perfmon.PerformanceMonitorInterceptor.invokeUnderTrace(PerformanceMonitorInterceptor.java:57) at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy39.findAlertsByIdentifierForIndexing(Unknown Source) at com.actimize.services.AlertsServiceImpl.findAlertsByIdentifierForIndexing(AlertsServiceImpl.java:5568) at sun.reflect.GeneratedMethodAccessor2118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.actimize.infrastructure.util.DeadLockLockingInterceptor.invoke(DeadLockLockingInterceptor.java:40) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.actimize.infrastructure.util.OptimisticLockingInterceptor.invoke
RE: Help Needed - Indexing Related
Information Classification: ll Limited Access Found those values. solr.autoSoftCommit.maxTime:2000 solr.autoCommit.maxTime:12 Thank you, Dutt -Original Message- From: Sujay Bawaskar [mailto:sujaybawas...@gmail.com] Sent: Tuesday, March 27, 2018 8:54 AM To: solr-user@lucene.apache.org Subject: Re: Help Needed - Indexing Related Since this is a scheduled job I think you can get rid of commits and optimize which are invoked from scheduled job. On Tue, Mar 27, 2018 at 6:13 PM, YELESWARAPU, VENKATA BHAN < vyeleswar...@statestreet.com> wrote: > Information Classification: ll Limited Access > > Thanks for your response Sujay. > Solr Version - 4.3.1 > Yes, we are using client api to generate index files. > I don't see those parameters configured outside or in the logs, but > indexing job is scheduled, which I think will take care of these. > We have the option to schedule it to run in min intervals. > > Thank you, > Dutt > > > -Original Message- > From: Sujay Bawaskar [mailto:sujaybawas...@gmail.com] > Sent: Tuesday, March 27, 2018 8:32 AM > To: solr-user@lucene.apache.org > Subject: Re: Help Needed - Indexing Related > > Few questions here, > > Are you using solrj client from java application? > What is version of solr? > How frequently commit and optimize operation is called from solr client? > If commit and optimize are not called from client what is value for > solr.autoCommit.maxTime and solr.autoSoftCommit.maxTime? > What is current TPS and expected TPS? > > On Tue, Mar 27, 2018 at 5:38 PM, YELESWARAPU, VENKATA BHAN < > vyeleswar...@statestreet.com> wrote: > > > Information Classification: ** Limited Access > > > > Hi Solr Team, > > > > Hope you are doing well. I have been struggling with indexing for a > > week now. > > Yesterday I deleted all indexing files and tried re-indexing. It > > failed saying unable to open a new searcher. Also that _0.si file is > missing. > > Today I redeployed the whole application and tried indexing. Now > > facing the below issues. > > If you could guide me on this or if there is any documentation > > around this, that would greatly help. Appreciate your time on this. > > > > 2018-03-27 07:53:59,896 DEBUG (DefaultdatabaseFunctions.java:319) - > > lock [SolrIndexingJobReadFromQueue] acquired > > 2018-03-27 07:53:59,924 DEBUG (SolrIndexingJob.java:193) - done > > sleeping > > 2018-03-27 07:53:59,929 DEBUG (DefaultdatabaseFunctions.java:313) - > > lock [SolrIndexingJobReadFromQueue] already exists, will try > > updating it now > > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) > > - Object Alerts.CWI_096850 not fetched because its identifier > > appears to be already in processing > > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) > > - Object Alerts.CWI_096850 not fetched because its identifier > > appears to be already in processing > > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) > > - Object Alerts.CWI_096850 not fetched because its identifier > > appears to be already in processing > > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) > > - Object Alerts.CWI_096854 not fetched because its identifier > > appears to be already in processing > > > > 2018-03-27 07:54:31,128 WARN (SolrIndexingJob.java:107) - Solr > > indexing job failed > > java.lang.IndexOutOfBoundsException: Index: 16, Size: 10 > > at java.util.ArrayList.rangeCheck(ArrayList.java:635) > > at java.util.ArrayList.set(ArrayList.java:426) > > at com.actimize.dao.DaoUtil.orderList(DaoUtil.java:215) > > at > > com.actimize.dao.AlertDaoImpl.findAlertsByIdentifierForIndex > > ing(AlertDaoImpl.java:2347) > > at sun.reflect.GeneratedMethodAccessor2119.invoke(Unknown > Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:606) > > at org.springframework.aop.support.AopUtils. > > invokeJoinpointUsingReflection(AopUtils.java:317) > > at org.springframework.aop.framework.ReflectiveMethodInvocation. > > invokeJoinpoint(ReflectiveMethodInvocation.java:183) > > at org.springframework.aop.framework.ReflectiveMethodInvocation. > > proceed(ReflectiveMethodInvocation.java:150) > > at com.actimize.infrastructure.perfmon. > > PerformanceMonitorInterceptor.invokeUnderTrace( > > PerformanceMonitorInterceptor.java:57) > >
RE: Help Needed - Indexing Related
Information Classification: ll Limited Access Thanks for your response Sujay. Solr Version - 4.3.1 Yes, we are using client api to generate index files. I don't see those parameters configured outside or in the logs, but indexing job is scheduled, which I think will take care of these. We have the option to schedule it to run in min intervals. Thank you, Dutt -Original Message- From: Sujay Bawaskar [mailto:sujaybawas...@gmail.com] Sent: Tuesday, March 27, 2018 8:32 AM To: solr-user@lucene.apache.org Subject: Re: Help Needed - Indexing Related Few questions here, Are you using solrj client from java application? What is version of solr? How frequently commit and optimize operation is called from solr client? If commit and optimize are not called from client what is value for solr.autoCommit.maxTime and solr.autoSoftCommit.maxTime? What is current TPS and expected TPS? On Tue, Mar 27, 2018 at 5:38 PM, YELESWARAPU, VENKATA BHAN < vyeleswar...@statestreet.com> wrote: > Information Classification: ** Limited Access > > Hi Solr Team, > > Hope you are doing well. I have been struggling with indexing for a > week now. > Yesterday I deleted all indexing files and tried re-indexing. It > failed saying unable to open a new searcher. Also that _0.si file is missing. > Today I redeployed the whole application and tried indexing. Now > facing the below issues. > If you could guide me on this or if there is any documentation around > this, that would greatly help. Appreciate your time on this. > > 2018-03-27 07:53:59,896 DEBUG (DefaultdatabaseFunctions.java:319) - > lock [SolrIndexingJobReadFromQueue] acquired > 2018-03-27 07:53:59,924 DEBUG (SolrIndexingJob.java:193) - done > sleeping > 2018-03-27 07:53:59,929 DEBUG (DefaultdatabaseFunctions.java:313) - > lock [SolrIndexingJobReadFromQueue] already exists, will try updating > it now > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - > Object Alerts.CWI_096850 not fetched because its identifier > appears to be already in processing > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - > Object Alerts.CWI_096850 not fetched because its identifier > appears to be already in processing > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - > Object Alerts.CWI_096850 not fetched because its identifier > appears to be already in processing > 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - > Object Alerts.CWI_096854 not fetched because its identifier > appears to be already in processing > > 2018-03-27 07:54:31,128 WARN (SolrIndexingJob.java:107) - Solr > indexing job failed > java.lang.IndexOutOfBoundsException: Index: 16, Size: 10 > at java.util.ArrayList.rangeCheck(ArrayList.java:635) > at java.util.ArrayList.set(ArrayList.java:426) > at com.actimize.dao.DaoUtil.orderList(DaoUtil.java:215) > at > com.actimize.dao.AlertDaoImpl.findAlertsByIdentifierForIndex > ing(AlertDaoImpl.java:2347) > at sun.reflect.GeneratedMethodAccessor2119.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.springframework.aop.support.AopUtils. > invokeJoinpointUsingReflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:150) > at com.actimize.infrastructure.perfmon. > PerformanceMonitorInterceptor.invokeUnderTrace( > PerformanceMonitorInterceptor.java:57) > at org.springframework.aop.interceptor.AbstractTraceInterceptor. > invoke(AbstractTraceInterceptor.java:111) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy. > invoke(JdkDynamicAopProxy.java:204) > at > com.sun.proxy.$Proxy39.findAlertsByIdentifierForIndexing(Unknown > Source) > at com.actimize.services.AlertsServiceImpl. > findAlertsByIdentifierForIndexing(AlertsServiceImpl.java:5568) > at sun.reflect.GeneratedMethodAccessor2118.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.springframework.aop.support.AopUtils. > invokeJoinpointUsingReflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > inv
Help Needed - Indexing Related
Information Classification: ** Limited Access Hi Solr Team, Hope you are doing well. I have been struggling with indexing for a week now. Yesterday I deleted all indexing files and tried re-indexing. It failed saying unable to open a new searcher. Also that _0.si file is missing. Today I redeployed the whole application and tried indexing. Now facing the below issues. If you could guide me on this or if there is any documentation around this, that would greatly help. Appreciate your time on this. 2018-03-27 07:53:59,896 DEBUG (DefaultdatabaseFunctions.java:319) - lock [SolrIndexingJobReadFromQueue] acquired 2018-03-27 07:53:59,924 DEBUG (SolrIndexingJob.java:193) - done sleeping 2018-03-27 07:53:59,929 DEBUG (DefaultdatabaseFunctions.java:313) - lock [SolrIndexingJobReadFromQueue] already exists, will try updating it now 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096850 not fetched because its identifier appears to be already in processing 2018-03-27 07:53:59,971 DEBUG (SolrIndexingQueueServiceImpl.java:54) - Object Alerts.CWI_096854 not fetched because its identifier appears to be already in processing 2018-03-27 07:54:31,128 WARN (SolrIndexingJob.java:107) - Solr indexing job failed java.lang.IndexOutOfBoundsException: Index: 16, Size: 10 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.set(ArrayList.java:426) at com.actimize.dao.DaoUtil.orderList(DaoUtil.java:215) at com.actimize.dao.AlertDaoImpl.findAlertsByIdentifierForIndexing(AlertDaoImpl.java:2347) at sun.reflect.GeneratedMethodAccessor2119.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.actimize.infrastructure.perfmon.PerformanceMonitorInterceptor.invokeUnderTrace(PerformanceMonitorInterceptor.java:57) at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy39.findAlertsByIdentifierForIndexing(Unknown Source) at com.actimize.services.AlertsServiceImpl.findAlertsByIdentifierForIndexing(AlertsServiceImpl.java:5568) at sun.reflect.GeneratedMethodAccessor2118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.actimize.infrastructure.util.DeadLockLockingInterceptor.invoke(DeadLockLockingInterceptor.java:40) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.actimize.infrastructure.util.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:48) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at com.actimize.infrastructure.perfmon.PerformanceMonitorInterceptor.invokeUnderTrace(PerformanceMonitorInterceptor.java:57) at
Configuring Solr Data and Index directories
Information Classification: ** Limited Access Dear Team, While deploying Solr I just see one parameter where we provide solr_home path. For ex: -Dsolr.solr.home=/usr/local/clo/ven/solr_home 1) Is there any path where we can configure data and index directories. 2) Can we separate data directory from solr_home. 3) Also, how to enable password protection for solr so that only limited people can access. Could you please help answer these? Thank you very much, Dutt
RE: Gentle reminder RE: Object not fetched because its identifier appears to be already in processing
Information Classification: ll Limited Access Thank you for your reply Shawn. I'm not part of that user list so I never received any emails so far. Could you please subscribe me (vyeleswar...@statestreet.com) or let me know the process? Also I would greatly appreciate if you could forward any responses received for this issue. To answer your question, we see these messages in the solr log file. Solr search option is visible on the UI but when we search for a text, it says "No results found". The index files are not getting generated/created. We have the index job scheduled to run every min, and solr log file is filled with below messages. "Object not fetched because its identifier appears to be already in processing". These are the Solr & lucene versions. solr-spec4.3.1 solr-impl 4.3.1 1491148 - shalinmangar - 2013-06-09 12:15:33 lucene-spec4.3.1 lucene-impl 4.3.1 1491148 - shalinmangar - 2013-06-09 12:07:58 Solr master and slave configuration is working fine and I'm able to access the urls. All we are trying is to make the search function work on UI. Please let me know if you need any more details. P.S: Kindly keep me in Cc until I'm added to the user list. Thank you, Dutt -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Tuesday, February 27, 2018 10:09 PM To: solr-user@lucene.apache.org Cc: YELESWARAPU, VENKATA BHAN <vyeleswar...@statestreet.com> Subject: Re: Gentle reminder RE: Object not fetched because its identifier appears to be already in processing On 2/27/2018 7:08 AM, YELESWARAPU, VENKATA BHAN wrote: > While indexing job is running we are seeing the below message for all the > objects. > > Object not fetched because its identifier appears to be already in > processing This time, I am going to include you as a CC on the message. This is not normally something that I do, because posting to the list normally requires subscribing to the list, so you should be getting all replies from the list. I'm pretty sure that I already replied once asking for information, but I never got a response. Another thing I said on my last reply: The text of the error message you have provided (in the subject and in the text I quoted above) is not in the Solr or Lucene codebase. So right away we know that it wasn't generated by Solr. It may have been generated by the other piece of software *inside* Solr, but without the rest of the error information, we have no way of knowing what actually happened. Solr errors tend to be dozens of lines long, with most of the output being a Java stacktrace. And in order to make sense of the stacktrace, we must have the Solr version. In addition to the details Cassandra mentioned, there's one bit that will be critical: Where *exactly* did you see this error? Was it in the Solr admin UI, the Solr logfile, the logging output from your indexing program, or somewhere else? Thanks, Shawn
RE: Gentle reminder RE: Object not fetched because its identifier appears to be already in processing
Information Classification: ll Limited Access Thanks Shawn, I submitted a request to subscribe. After restarting jboss and redeploying solr war files, index files were successfully created and global search is now working. Not sure what really was the problem and what was fixed. :) We spent few days on this. Anyways, thank you very much for your support. Will get back if I have any questions. Good day Dutt -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Wednesday, February 28, 2018 1:08 PM To: solr-user@lucene.apache.org Cc: YELESWARAPU, VENKATA BHAN <vyeleswar...@statestreet.com> Subject: Re: Gentle reminder RE: Object not fetched because its identifier appears to be already in processing On 2/28/2018 12:06 AM, YELESWARAPU, VENKATA BHAN wrote: > Thank you for your reply Shawn. I'm not part of that user list so I never > received any emails so far. > Could you please subscribe me (vyeleswar...@statestreet.com) or let me know > the process? > Also I would greatly appreciate if you could forward any responses received > for this issue. You can subscribe yourself. That's not something I can do for you. http://lucene.apache.org/solr/community.html#mailing-lists-irc > To answer your question, we see these messages in the solr log file. Solr > search option is visible on the UI but when we search for a text, it says "No > results found". > The index files are not getting generated/created. We have the index job > scheduled to run every min, and solr log file is filled with below messages. > "Object not fetched because its identifier appears to be already in > processing". Can you place that logfile (ideally the whole thing) somewhere and provide a URL for accessing it? There are many paste websites and many file sharing sites that you can use to do this. With the actual logfile, hopefully the problem can be found. If I do a google search for that error message, the only thing that comes up is messages from you. It doesn't appear to be something that people have encountered before. > These are the Solr & lucene versions. > solr-spec4.3.1 > solr-impl 4.3.1 1491148 - shalinmangar - 2013-06-09 12:15:33 > lucene-spec4.3.1 > lucene-impl 4.3.1 1491148 - shalinmangar - 2013-06-09 12:07:58 If we determine that there *is* a bug, it will need to be demonstrated in the current version (7.2.1) before it can be fixed. There will be no more 4.x releases. As you can see, the version you're running is nearly five years old. > Solr master and slave configuration is working fine and I'm able to access > the urls. > All we are trying is to make the search function work on UI. Please let me > know if you need any more details. What happens if you leave the query as *:* and execute it? This is special syntax for all documents. Thanks, Shawn
Gentle reminder RE: Object not fetched because its identifier appears to be already in processing
Information Classification: ** Limited Access If any of you experts could help, we would greatly appreciate it. Thank you. From: YELESWARAPU, VENKATA BHAN Sent: Friday, February 23, 2018 8:30 AM To: 'd...@lucene.apache.org' <d...@lucene.apache.org>; 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org> Subject: Object not fetched because its identifier appears to be already in processing Information Classification: ** Limited Access Dear Users, While indexing job is running we are seeing the below message for all the objects. Object not fetched because its identifier appears to be already in processing What is the issue and how to resolve this so that indexing can work. Could you please guide. Thank you, Dutt
Object not fetched because its identifier appears to be already in processing
Information Classification: ** Limited Access Dear Users, While indexing job is running we are seeing the below message for all the objects. Object not fetched because its identifier appears to be already in processing What is the issue and how to resolve this so that indexing can work. Could you please guide. Thank you, Dutt
RE: solr cluster: solr auto suggestion with requestHandler
Any inputs on this really appreciated. Thanks & Regards Venkata MR +91 98455 77125 From: Venkata MR Sent: Tuesday, January 09, 2018 5:25 PM To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org> Cc: Deepak Udapudi <deepa...@hcl.com>; Nareshkumar P <nareshkuma...@hcl.com> Subject: solr cluster: solr auto suggestion with requestHandler Hi All, Problem: Not able to build suggest data on all solr cluster nodes Configured three solr using external zookeeper Configured the requestHandler for auto-suggestion as below true 5 Name suggest Name name name AnalyzingInfixLookupFactory name_suggester_infix_dir DocumentDictionaryFactory key lowercase name_suggestor_dictionary string When we manually issue request with suggest.build=true on one of the node for building suggest data, suggest data is built for that particular node only, other nodes of cluster are not getting build the suggest data. Any configuration mismatch? Thanks a lot. Thanks & Regards Venkata MR +91 98455 77125 ::DISCLAIMER:: -- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. --
solr cluster: solr auto suggestion with requestHandler
Hi All, Problem: Not able to build suggest data on all solr cluster nodes Configured three solr using external zookeeper Configured the requestHandler for auto-suggestion as below true 5 Name suggest Name name name AnalyzingInfixLookupFactory name_suggester_infix_dir DocumentDictionaryFactory key lowercase name_suggestor_dictionary string When we manually issue request with suggest.build=true on one of the node for building suggest data, suggest data is built for that particular node only, other nodes of cluster are not getting build the suggest data. Any configuration mismatch? Thanks a lot. Thanks & Regards Venkata MR +91 98455 77125 ::DISCLAIMER:: -- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. --
Formatting Issue
Hi, I am indexing RTF documents, but in search results i am not getting same format of text as indexed RTF document's text. I would like to get same format of text in search result. So could you please provide me any suggestion to resolve this formatting problem. Thanks, Venkata krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Formatting-Issue-tp4143371.html Sent from the Solr - User mailing list archive at Nabble.com.
Connection Time out Issue
Hi, In my project we need to index millon files, but connection time out problems are coming after completion of indexing 1000 to 2000 files. What connection values would be preferred to inject for the solrserver object to avoid connection problems ? solrServer.setDefaultMaxConnectionsPerHost(-); solrServer.setMaxTotalConnections(-); solrServer.setSoTimeout(-); solrServer.setConnectionTimeout(-); i have checked many sites about description of those methods, i have not get and brief information about those yet. So could you please provide any link for to describe those methods , preferred values for those methods for to index millons of documents with out getting any exception. Thanks , Venkata Krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Connection-Time-out-Issue-tp4143473.html Sent from the Solr - User mailing list archive at Nabble.com.
Query Response in Html
Hi, I am using XSLResponseWriter on my application for to transform xml response into html.The following params i have set for that purpose. query.set(wt, xslt); query.set(indent,true); query.set(tr, example.xsl); but the response is coming as normal text.Even though i remove the params the response is coming same as previous with out any change. I have also tried with velocity Response writer also by setting the following params. query.set(wt, velocity); query.set(v.template,browse); query.set(v.layout, layout); then also i am getting same response as normal text. I would like to get html response. So could you please provide any solution. Thanks, Venkata Krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Query-Response-in-Html-tp4142838.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Converting XML response of Search query into HTML.
Thanks for quick responses, Ahemt , i have tried by removing ampersand then xml response has not converted to html response it is in just xml only. Erik , according to your suggestion i used VelocityResponseWriter. like this manner query.set(wt, velocity); query.set(v.template,browse); query.set(v.layout, layout); then also it is throwing same exception as previous Exception in thread main org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/xml but got text/html. at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:516) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210) at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206) at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91) but when i do searching through solr admin interface then response is converted to html. 1. using XslResponseWriter http://localhost:8983/solr/collection1/select?q=cobydf=textwt=xsltindent=truetr=example.xslhl=truehl.fl=contenthl.fragsize=1000hl.simple.pre=%3Cem%3Ehl.simple.post=%3C%2Fem%3E 2. using VelocityResponseWriter http://localhost:8983/solr/collection1/select?q=cobywt=velocityindent=truev.template=browsev.layout=layouthl=truehl.fl=contenthl.fragsize=1000hl.simple.pre=%3Cem%3Ehl.simple.post=%3C%2Fem%3E It seems like coding issue of solrj (HttpSolrServer class). so could you please provide me suggestions. Thanks, Venkata krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-XML-response-of-Search-query-into-HTML-tp4141456p4142490.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Converting XML response of Search query into HTML.
Hi Erik, I have tried by removing '' and i got response as in text format but i don't want response in text form. We need to get response as in html form with out any exception(Expected mime type application/xml but got text/html).So could you please provide any suggestion. Thanks, venkata krishna tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-XML-response-of-Search-query-into-HTML-tp4141456p4142546.html Sent from the Solr - User mailing list archive at Nabble.com.
Highlights in Query response
Hi, Is there any option for to integrate highlights in query response instead of showing query response and highlighted snippets separately? if possible then could you please provide an example or sample code for showing highlights in query response. Thanks, Venkata krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlights-in-Query-response-tp4142030.html Sent from the Solr - User mailing list archive at Nabble.com.
Indexing Files Month by Month
Hi , I am using lucene solr , would like to use Data import handler for to index files but millions of files are there to import so indexing process will take more time. I decided to import files month by month,so could you please provide an suggestion to import files month by month basis. Thanks, Venkata Krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-Files-Month-by-Month-tp4141443.html Sent from the Solr - User mailing list archive at Nabble.com.
Converting XML response of Search query into HTML.
Hi, I am using solr4.8, solrj for to do searching, would like to get response of search query in html format,for that purpose i have written this code, private static final String urlString = http://localhost:8983/solr;; private SolrServer solrServer; public SolrJ() { if (solrServer == null) { solrServer = new HttpSolrServer(urlString); } } public QueryResponse getRueryResponse(String queryString) { SolrQuery query = new SolrQuery(); query.setHighlight(true).setHighlightSnippets(20); //set other params as needed query.setParam(hl.fl, content); query.setQuery(queryString); query.set(wt, xslt); query.set(indent,true); query.set(tr, example.xsl); QueryResponse queryResponse = null; try { ((HttpSolrServer) solrServer).setParser(new XMLResponseParser()); queryResponse = solrServer.query(query); } catch (SolrServerException e) { e.printStackTrace(); } return queryResponse; } and in example.xsl media type is xsl:output media-type=text/html encoding=UTF-8/. but i am getting an exception Exception in thread main org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected mime type application/xml but got text/html. So could you please provide any solution to resolve issue. Thanks, Venkata Krishna Tolusuri. -- View this message in context: http://lucene.472066.n3.nabble.com/Converting-XML-response-of-Search-query-into-HTML-tp4141456.html Sent from the Solr - User mailing list archive at Nabble.com.
maximum number of simultaneous threads
I am seeing the following in solrconfig.xml It is possible to specific max number of threads for query time too? -- View this message in context: http://lucene.472066.n3.nabble.com/maximum-number-of-simultaneous-threads-tp4062903.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: maximum number of simultaneous threads
I am seeing configuration point for indexing threads. However I am not finding anything for search. How many simultaneous threads, SOLR can spin during search time? -- View this message in context: http://lucene.472066.n3.nabble.com/maximum-number-of-simultaneous-threads-tp4062903p4062982.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: RequestHandler.. Conditional components
For example requestHander A defined as shown below. component A component B component C Based on some condition ( based on SOLR param value or some other condition), I want to come out after executing component B. Something possible? -- View this message in context: http://lucene.472066.n3.nabble.com/RequestHandler-Conditional-components-tp4053381p4055374.html Sent from the Solr - User mailing list archive at Nabble.com.
RequestHandler.. Conditional components
In our use cases, for certain query terms, we want to redirect the query processing to external system for the rest of the keywords, we want to continue with query component , facets etc. Based on some condition it is possible to skip some components in a request handler? -- View this message in context: http://lucene.472066.n3.nabble.com/RequestHandler-Conditional-components-tp4053381.html Sent from the Solr - User mailing list archive at Nabble.com.
Reg: Indexing Date Fields
Hi, 1) How do I query for Data between 2 date ranges. I have specified the following field definition in Schema.xml. field name=createdDate type=long indexed=true stored=true / I have long values for Date fields. When I query with long values, I am always getting all the results. 2) For indexing to be working efficiently and for querying between Date ranges, Is it OK to use long values or Do I need to use 'Date' type with specific formats. Please Let me know your thoughts. Thanks Regards Venkat