• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0
    • None
    • Module Documents
    • None
    • 2.0.0

      When I perform an empty research (no filter entered and click on search),

      following error is displayed : 

      Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr: org.apache.solr.search.SyntaxError: Cannot parse '(full_en:()) OR (workspace-keywords:)': Encountered " ")" ") "" at line 1, column 10.
       Was expecting one of:
           <NOT> ...
           "+" ...
           "-" ...
           <BAREOPER> ...
           "(" ...
           "*" ...
           <QUOTED> ...
           <TERM> ...
           <PREFIXTERM> ...
           <WILDTERM> ...
           <REGEXPTERM> ...
           "[" ...
           "{" ...
           <LPARAMS> ...
           "filter(" ...
           <NUMBER> ...
           <TERM> ...
           
           at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:665)
           at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:265)
           at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
           at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:211)
           at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1035)
           at org.ametys.cms.search.solr.SearcherFactory$Searcher._querySolrServer(SearcherFactory.java:464)
           at org.ametys.cms.search.solr.SearcherFactory$Searcher.searchWithFacets(SearcherFactory.java:416)
           at org.ametys.cms.search.solr.SearcherFactory$Searcher.search(SearcherFactory.java:404)
           at org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceDAO.searchFiles(WorkspaceExplorerResourceDAO.java:681)
           ... 127 more

            laurence Laurence Aumeunier
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: