lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Collins <danwcoll...@gmail.com>
Subject Re: undefined field http:// while searchi query
Date Tue, 02 Jul 2013 10:58:58 GMT
Presuming that uses the standard lucene query parser syntax then you have
asked to query for the field called http, searching for the value //
www.google.co.in
See http://wiki.apache.org/solr/SolrQuerySyntax for more details, but you
probably want to escape the : at least, http\://www.google.co.in



On 2 July 2013 07:34, aniljayanti <aniljayanti@yahoo.co.in> wrote:

> Hi,
>
> I am using solr 3.3 version. After indexing I am querying below command.
>
> http://localhost:8080/solr/select/?q=*(http://www.google.co.in)*
>
> getting below error.
>
> SEVERE: org.apache.solr.common.SolrException: *undefined field http://*
>         at
>
> org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1254)
>         at
>
> org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:410)
>         at
>
> org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStream(IndexSchema.java:385)
>         at
>
> org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:574)
>         at
>
> org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:158)
>         at
> org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1421)
>         at
> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1309)
>         at
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237)
>         at
> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1313)
>         at
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237)
>         at
> org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1313)
>         at
> org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1237)
>         at
>
> org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1226)
>         at
> org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)
>         at
> org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
>         at org.apache.solr.search.QParser.getQuery(QParser.java:142)
>         at
>
> org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:81)
>         at
>
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)
>         at
>
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368)
>         at
>
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
>         at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
>         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:224)
>         at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at
>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>         at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>         at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>         at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>         at
>
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:257)
>         at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>         at
>
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1764)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
>
> can you please assist me in this.
>
> thanks in advance.
>
> Aniljayanti.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/undefined-field-http-while-searchi-query-tp4074601.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message