You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Aman Tandon <am...@gmail.com> on 2014/06/06 13:25:00 UTC
Analysis browser not working in solr 4.8.1
Hi,
I created a custom filter for my field named text_reversed, i tried my
custom filter in solr 4.7.1 and i was able to analyse the result, it works
fine but in solr 4.8.1 it gaves me error of : *Missing required parameter:
analysis.fieldvalue. *It is also not working with any field*, *here is the
logs of the error
2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
org.apache.solr.common.SolrException: Missing required parameter:
analysis.fieldvalue
at
org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
at
org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
at
org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
at
org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
With Regards
Aman Tandon
Re: Analysis browser not working in solr 4.8.1
Posted by Aman Tandon <am...@gmail.com>.
The url forming is
*http://localhost:8984/solr/#/IM-Search/analysis?analysis.query=jute&analysis.fieldname=title&verbose_output=1
<http://localhost:8984/solr/#/IM-Search/analysis?analysis.query=jute&analysis.fieldname=title&verbose_output=1>*
Here is the screenshot: http://picpaste.com/HrW26A8d.png
With Regards
Aman Tandon
On Fri, Jun 6, 2014 at 4:55 PM, Aman Tandon <am...@gmail.com> wrote:
> Hi,
>
> I created a custom filter for my field named text_reversed, i tried my
> custom filter in solr 4.7.1 and i was able to analyse the result, it works
> fine but in solr 4.8.1 it gaves me error of : *Missing required
> parameter: analysis.fieldvalue. *It is also not working with any field*, *here
> is the logs of the error
>
> 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
> org.apache.solr.common.SolrException: Missing required parameter:
> analysis.fieldvalue
> at
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> at
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> at
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> at
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> at
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> With Regards
> Aman Tandon
>
Re: Analysis browser not working in solr 4.8.1
Posted by Aman Tandon <am...@gmail.com>.
Okay i opened the issue.
With Regards
Aman Tandon
On Fri, Jun 6, 2014 at 9:43 PM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:
> Yes, please do open an issue. I'll fix it there.
>
>
> On Fri, Jun 6, 2014 at 9:33 PM, Aman Tandon <am...@gmail.com>
> wrote:
>
> > Okay thanks shalin, i am fine with explicit till 4.9 :)
> >
> > So i don't need to open the issue right?
> >
> > With Regards
> > Aman Tandon
> >
> >
> > On Fri, Jun 6, 2014 at 9:20 PM, Shalin Shekhar Mangar <
> > shalinmangar@gmail.com> wrote:
> >
> > > I think I created this problem in SOLR-6023.
> > >
> > > I went with the javadoc documentation which says that analysis.value
> is a
> > > required parameter and added that check. It seems that the either
> > > analysis.value or analysis.q (or q) can be specified to make it work.
> > I'll
> > > fix in 4.9
> > >
> > >
> > > On Fri, Jun 6, 2014 at 8:37 PM, Aman Tandon <am...@gmail.com>
> > > wrote:
> > >
> > > > It is not working with either custom filter/field as well as with
> > normal
> > > > text field, it only working fine if i pass the value/text in the both
> > in
> > > > the index time input as well as in query time input.
> > > > Only query time analysis is impossible unless i wrote that extra
> > > parameter
> > > > (analysis.fieldvalue=jute) explicitly in request(url).
> > > >
> > > > With Regards
> > > > Aman Tandon
> > > >
> > > >
> > > > On Fri, Jun 6, 2014 at 7:11 PM, Stefan Matheis <
> > matheis.stefan@gmail.com
> > > >
> > > > wrote:
> > > >
> > > > > I’m not sure that’s a bug in the UI .. in case the underlying
> service
> > > is
> > > > > barking with an exception we can’t do anything else than showing to
> > > you.
> > > > >
> > > > > are you sure the custom filter works as expected? like, verified
> > with a
> > > > > unit-test or something along the lines? i can still work with the
> > > > examples
> > > > > provided in the tutorial, so in general .. it works, looks like the
> > > only
> > > > > thing that doesn’t work is related to your custom components
> > > > >
> > > > > -Stefan
> > > > >
> > > > >
> > > > > On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I created a custom filter for my field named text_reversed, i
> tried
> > > my
> > > > > > custom filter in solr 4.7.1 and i was able to analyse the result,
> > it
> > > > > works
> > > > > > fine but in solr 4.8.1 it gaves me error of : *Missing required
> > > > > parameter:
> > > > > > analysis.fieldvalue. *It is also not working with any field*,
> *here
> > > is
> > > > > the
> > > > > > logs of the error
> > > > > >
> > > > > > 2090419 [http-bio-8984-exec-8] ERROR
> org.apache.solr.core.SolrCore
> > –
> > > > > > org.apache.solr.common.SolrException: Missing required parameter:
> > > > > > analysis.fieldvalue
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> > > > > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > > > > > at
> > > > > >
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > > > > > at java.lang.Thread.run(Thread.java:745)
> > > > > >
> > > > > >
> > > > > >
> > > > > > With Regards
> > > > > > Aman Tandon
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Shalin Shekhar Mangar.
> > >
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
Re: Analysis browser not working in solr 4.8.1
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Yes, please do open an issue. I'll fix it there.
On Fri, Jun 6, 2014 at 9:33 PM, Aman Tandon <am...@gmail.com> wrote:
> Okay thanks shalin, i am fine with explicit till 4.9 :)
>
> So i don't need to open the issue right?
>
> With Regards
> Aman Tandon
>
>
> On Fri, Jun 6, 2014 at 9:20 PM, Shalin Shekhar Mangar <
> shalinmangar@gmail.com> wrote:
>
> > I think I created this problem in SOLR-6023.
> >
> > I went with the javadoc documentation which says that analysis.value is a
> > required parameter and added that check. It seems that the either
> > analysis.value or analysis.q (or q) can be specified to make it work.
> I'll
> > fix in 4.9
> >
> >
> > On Fri, Jun 6, 2014 at 8:37 PM, Aman Tandon <am...@gmail.com>
> > wrote:
> >
> > > It is not working with either custom filter/field as well as with
> normal
> > > text field, it only working fine if i pass the value/text in the both
> in
> > > the index time input as well as in query time input.
> > > Only query time analysis is impossible unless i wrote that extra
> > parameter
> > > (analysis.fieldvalue=jute) explicitly in request(url).
> > >
> > > With Regards
> > > Aman Tandon
> > >
> > >
> > > On Fri, Jun 6, 2014 at 7:11 PM, Stefan Matheis <
> matheis.stefan@gmail.com
> > >
> > > wrote:
> > >
> > > > I’m not sure that’s a bug in the UI .. in case the underlying service
> > is
> > > > barking with an exception we can’t do anything else than showing to
> > you.
> > > >
> > > > are you sure the custom filter works as expected? like, verified
> with a
> > > > unit-test or something along the lines? i can still work with the
> > > examples
> > > > provided in the tutorial, so in general .. it works, looks like the
> > only
> > > > thing that doesn’t work is related to your custom components
> > > >
> > > > -Stefan
> > > >
> > > >
> > > > On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I created a custom filter for my field named text_reversed, i tried
> > my
> > > > > custom filter in solr 4.7.1 and i was able to analyse the result,
> it
> > > > works
> > > > > fine but in solr 4.8.1 it gaves me error of : *Missing required
> > > > parameter:
> > > > > analysis.fieldvalue. *It is also not working with any field*, *here
> > is
> > > > the
> > > > > logs of the error
> > > > >
> > > > > 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore
> –
> > > > > org.apache.solr.common.SolrException: Missing required parameter:
> > > > > analysis.fieldvalue
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> > > > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > > > > at
> > > > >
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > > at
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > > > > at
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > > > > at java.lang.Thread.run(Thread.java:745)
> > > > >
> > > > >
> > > > >
> > > > > With Regards
> > > > > Aman Tandon
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Shalin Shekhar Mangar.
> >
>
--
Regards,
Shalin Shekhar Mangar.
Re: Analysis browser not working in solr 4.8.1
Posted by Aman Tandon <am...@gmail.com>.
Okay thanks shalin, i am fine with explicit till 4.9 :)
So i don't need to open the issue right?
With Regards
Aman Tandon
On Fri, Jun 6, 2014 at 9:20 PM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:
> I think I created this problem in SOLR-6023.
>
> I went with the javadoc documentation which says that analysis.value is a
> required parameter and added that check. It seems that the either
> analysis.value or analysis.q (or q) can be specified to make it work. I'll
> fix in 4.9
>
>
> On Fri, Jun 6, 2014 at 8:37 PM, Aman Tandon <am...@gmail.com>
> wrote:
>
> > It is not working with either custom filter/field as well as with normal
> > text field, it only working fine if i pass the value/text in the both in
> > the index time input as well as in query time input.
> > Only query time analysis is impossible unless i wrote that extra
> parameter
> > (analysis.fieldvalue=jute) explicitly in request(url).
> >
> > With Regards
> > Aman Tandon
> >
> >
> > On Fri, Jun 6, 2014 at 7:11 PM, Stefan Matheis <matheis.stefan@gmail.com
> >
> > wrote:
> >
> > > I’m not sure that’s a bug in the UI .. in case the underlying service
> is
> > > barking with an exception we can’t do anything else than showing to
> you.
> > >
> > > are you sure the custom filter works as expected? like, verified with a
> > > unit-test or something along the lines? i can still work with the
> > examples
> > > provided in the tutorial, so in general .. it works, looks like the
> only
> > > thing that doesn’t work is related to your custom components
> > >
> > > -Stefan
> > >
> > >
> > > On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
> > >
> > > > Hi,
> > > >
> > > > I created a custom filter for my field named text_reversed, i tried
> my
> > > > custom filter in solr 4.7.1 and i was able to analyse the result, it
> > > works
> > > > fine but in solr 4.8.1 it gaves me error of : *Missing required
> > > parameter:
> > > > analysis.fieldvalue. *It is also not working with any field*, *here
> is
> > > the
> > > > logs of the error
> > > >
> > > > 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
> > > > org.apache.solr.common.SolrException: Missing required parameter:
> > > > analysis.fieldvalue
> > > > at
> > > >
> > >
> >
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> > > > at
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> > > > at
> > > >
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> > > > at
> > > >
> > >
> >
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> > > > at
> > > >
> > >
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> > > > at
> > > >
> > >
> >
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> > > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> > > > at
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> > > > at
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> > > > at
> > > >
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > > > at
> > > >
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > > > at
> > > >
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > > > at
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > > at
> > > >
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > > at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > > > at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > > > at java.lang.Thread.run(Thread.java:745)
> > > >
> > > >
> > > >
> > > > With Regards
> > > > Aman Tandon
> > > >
> > > >
> > >
> > >
> > >
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
Re: Analysis browser not working in solr 4.8.1
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
I think I created this problem in SOLR-6023.
I went with the javadoc documentation which says that analysis.value is a
required parameter and added that check. It seems that the either
analysis.value or analysis.q (or q) can be specified to make it work. I'll
fix in 4.9
On Fri, Jun 6, 2014 at 8:37 PM, Aman Tandon <am...@gmail.com> wrote:
> It is not working with either custom filter/field as well as with normal
> text field, it only working fine if i pass the value/text in the both in
> the index time input as well as in query time input.
> Only query time analysis is impossible unless i wrote that extra parameter
> (analysis.fieldvalue=jute) explicitly in request(url).
>
> With Regards
> Aman Tandon
>
>
> On Fri, Jun 6, 2014 at 7:11 PM, Stefan Matheis <ma...@gmail.com>
> wrote:
>
> > I’m not sure that’s a bug in the UI .. in case the underlying service is
> > barking with an exception we can’t do anything else than showing to you.
> >
> > are you sure the custom filter works as expected? like, verified with a
> > unit-test or something along the lines? i can still work with the
> examples
> > provided in the tutorial, so in general .. it works, looks like the only
> > thing that doesn’t work is related to your custom components
> >
> > -Stefan
> >
> >
> > On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
> >
> > > Hi,
> > >
> > > I created a custom filter for my field named text_reversed, i tried my
> > > custom filter in solr 4.7.1 and i was able to analyse the result, it
> > works
> > > fine but in solr 4.8.1 it gaves me error of : *Missing required
> > parameter:
> > > analysis.fieldvalue. *It is also not working with any field*, *here is
> > the
> > > logs of the error
> > >
> > > 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
> > > org.apache.solr.common.SolrException: Missing required parameter:
> > > analysis.fieldvalue
> > > at
> > >
> >
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> > > at
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> > > at
> > >
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> > > at
> > >
> >
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> > > at
> > >
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> > > at
> > >
> >
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> > > at
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> > > at
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> > > at
> > >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > > at
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > > at
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > > at
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > > at
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > > at
> > >
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > > at
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > > at
> > >
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > > at
> > >
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > > at
> > >
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > > at
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > > at
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > > at java.lang.Thread.run(Thread.java:745)
> > >
> > >
> > >
> > > With Regards
> > > Aman Tandon
> > >
> > >
> >
> >
> >
>
--
Regards,
Shalin Shekhar Mangar.
Re: Analysis browser not working in solr 4.8.1
Posted by Aman Tandon <am...@gmail.com>.
It is not working with either custom filter/field as well as with normal
text field, it only working fine if i pass the value/text in the both in
the index time input as well as in query time input.
Only query time analysis is impossible unless i wrote that extra parameter
(analysis.fieldvalue=jute) explicitly in request(url).
With Regards
Aman Tandon
On Fri, Jun 6, 2014 at 7:11 PM, Stefan Matheis <ma...@gmail.com>
wrote:
> I’m not sure that’s a bug in the UI .. in case the underlying service is
> barking with an exception we can’t do anything else than showing to you.
>
> are you sure the custom filter works as expected? like, verified with a
> unit-test or something along the lines? i can still work with the examples
> provided in the tutorial, so in general .. it works, looks like the only
> thing that doesn’t work is related to your custom components
>
> -Stefan
>
>
> On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
>
> > Hi,
> >
> > I created a custom filter for my field named text_reversed, i tried my
> > custom filter in solr 4.7.1 and i was able to analyse the result, it
> works
> > fine but in solr 4.8.1 it gaves me error of : *Missing required
> parameter:
> > analysis.fieldvalue. *It is also not working with any field*, *here is
> the
> > logs of the error
> >
> > 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
> > org.apache.solr.common.SolrException: Missing required parameter:
> > analysis.fieldvalue
> > at
> >
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> > at
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> > at
> >
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> > at
> >
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> > at
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> > at
> >
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> > at
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> > at
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> > at
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:745)
> >
> >
> >
> > With Regards
> > Aman Tandon
> >
> >
>
>
>
Re: Analysis browser not working in solr 4.8.1
Posted by Stefan Matheis <ma...@gmail.com>.
I’m not sure that’s a bug in the UI .. in case the underlying service is barking with an exception we can’t do anything else than showing to you.
are you sure the custom filter works as expected? like, verified with a unit-test or something along the lines? i can still work with the examples provided in the tutorial, so in general .. it works, looks like the only thing that doesn’t work is related to your custom components
-Stefan
On Friday, June 6, 2014 at 1:25 PM, Aman Tandon wrote:
> Hi,
>
> I created a custom filter for my field named text_reversed, i tried my
> custom filter in solr 4.7.1 and i was able to analyse the result, it works
> fine but in solr 4.8.1 it gaves me error of : *Missing required parameter:
> analysis.fieldvalue. *It is also not working with any field*, *here is the
> logs of the error
>
> 2090419 [http-bio-8984-exec-8] ERROR org.apache.solr.core.SolrCore –
> org.apache.solr.common.SolrException: Missing required parameter:
> analysis.fieldvalue
> at
> org.apache.solr.common.params.RequiredSolrParams.get(RequiredSolrParams.java:49)
> at
> org.apache.solr.handler.FieldAnalysisRequestHandler.resolveAnalysisRequest(FieldAnalysisRequestHandler.java:142)
> at
> org.apache.solr.handler.FieldAnalysisRequestHandler.doAnalysis(FieldAnalysisRequestHandler.java:99)
> at
> org.apache.solr.handler.AnalysisRequestHandlerBase.handleRequestBody(AnalysisRequestHandlerBase.java:60)
> at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> at
> org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
> at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
>
>
> With Regards
> Aman Tandon
>
>