Details

    • Type: Bug Bug
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 1.6.1
    • Fix Version/s: QA tracked issues
    • Labels:
      None
    • Environment:

      PHP 5.6.17
      mysql Ver 14.14 Distrib 5.5.47
      Firefox 49.0.2
      ezplatform 1.6.1, with ezsystems/ezplatform-solr-search-engine v1.1.2.1

      Description

      Steps to reproduce:

      1. Install and setup Solr according to the official documentation ( https://doc.ez.no/display/DEVELOPER/Solr+Bundle );
      I had softAutoCommit setting configured to value=100 ( solr/collection1/conf/solrconfig.xml );

      2. Go to platform ui admin interface, and go to "Content -> Content Structure";

      3. Click on the Discovery Bar to the left, on "Search".
      Verify you get the following output on Solr:

      430997 [qtp1512510175-13] ERROR org.apache.solr.core.SolrCore  ? org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse '((document_type_id:"location") AND () AND (meta_indexed_is_main_translation_b:"true"))': Encountered " ")" ") "" at line 1, column 36.
      Was expecting one of:
          <NOT> ...
          "+" ...
          "-" ...
          <BAREOPER> ...
          "(" ...
          "*" ...
          <QUOTED> ...
          <TERM> ...
          <PREFIXTERM> ...
          <WILDTERM> ...
          <REGEXPTERM> ...
          "[" ...
          "{" ...
          <LPARAMS> ...
          <NUMBER> ...
          <TERM> ...
          "*" ...
       
              at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:204)
              at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197)
              at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
              at org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)
              at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
              at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
              at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
              at org.eclipse.jetty.server.Server.handle(Server.java:368)
              at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
              at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
              at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
              at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
              at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
              at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
              at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
              at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.solr.search.SyntaxError: Cannot parse '((document_type_id:"location") AND () AND (meta_indexed_is_main_translation_b:"true"))': Encountered " ")" ") "" at line 1, column 36.
      Was expecting one of:
          <NOT> ...
          "+" ...
          "-" ...
          <BAREOPER> ...
          "(" ...
          "*" ...
          <QUOTED> ...
          <TERM> ...
          <PREFIXTERM> ...
          <WILDTERM> ...
          <REGEXPTERM> ...
          "[" ...
          "{" ...
          <LPARAMS> ...
          <NUMBER> ...
          <TERM> ...
          "*" ...
       
              at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:155)
              at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
              at org.apache.solr.search.QParser.getQuery(QParser.java:141)
              at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:193)
              ... 31 more
      Caused by: org.apache.solr.parser.ParseException: Encountered " ")" ") "" at line 1, column 36.
      Was expecting one of:
          <NOT> ...
          "+" ...
          "-" ...
          <BAREOPER> ...
          "(" ...
          "*" ...
          <QUOTED> ...
          <TERM> ...
          <PREFIXTERM> ...
          <WILDTERM> ...
          <REGEXPTERM> ...
          "[" ...
          "{" ...
          <LPARAMS> ...
          <NUMBER> ...
          <TERM> ...
          "*" ...
       
              at org.apache.solr.parser.QueryParser.generateParseException(QueryParser.java:649)
              at org.apache.solr.parser.QueryParser.jj_consume_token(QueryParser.java:531)
              at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:216)
              at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
              at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:189)
              at org.apache.solr.parser.QueryParser.Query(QueryParser.java:139)
              at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:189)
              at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
              at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96)
              at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151)
              ... 34 more
       
      431002 [qtp1512510175-13] INFO  org.apache.solr.core.SolrCore  ? [collection1] webapp=/solr path=/select params={shards=localhost:8983/solr/collection1&fl=*,score,[shard]&sort=&start=0&q.alt=*:*&wt=json&fq=((document_type_id:"location")+AND+()+AND+(meta_indexed_is_main_translation_b:"true"))&rows=10&defType=edismax} status=400 QTime=7
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Rui Silva (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: