format and syntax errors
-
I think I spoke to soon – it IS working but the results are displayed with no formatting, no thumbnails, no facets/filters displaying.
Here is what comes up in the log with each search (the actual search results from the front end are below that – you can see it’s not formatted in any way – and I can’t find supporting documentation).
org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Expected identifier at pos 21 str='{!key=average review (1-5)_str}average review (1-5)_str' at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:266) at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:107) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:227) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:144) at org.apache.solr.core.SolrCore.execute(SolrCore.java:2006) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:413) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:204) 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: Expected identifier at pos 21 str='{!key=average review (1-5)_str}average review (1-5)_str' at org.apache.solr.search.QueryParsing$StrParser.getId(QueryParsing.java:760) at org.apache.solr.search.QueryParsing$StrParser.getId(QueryParsing.java:739) at org.apache.solr.search.QueryParsing.parseLocalParams(QueryParsing.java:122) at org.apache.solr.search.QueryParsing.parseLocalParams(QueryParsing.java:101) at org.apache.solr.search.QueryParsing.getLocalParams(QueryParsing.java:212) at org.apache.solr.request.SimpleFacets.parseParams(SimpleFacets.java:146) at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:576) at org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:258)
Solr HTTP error: OK (400) {"response":{"numFound":928,"start":0,"maxScore":0.9424107,"docs":[{"id":"9995","PID":[9995],"title":["Rajen Maniar by My Personal Health Records Express Inc."],"content":["The MphRx Mobile Connect Rajen Maniar Cardiology PC software program allows Radiologists, Cardiologists and Physicians to access and view radiology and cardiology images, videos and reports on the iPhone. The software is powered by MphRx Mobile Connect and supports the following modalities: CR, CT, MG, MR, NM, OT and US.MphRx Mobile Connect provides wireless and mobile access to radiology and cardiology images, videos and reports using MphRx Secure Private Cloud connected to Rajen Maniar Cardiology PC's RIS and PACS. MphRx Mobile Connect downloads data using encrypted transfer over the wireless and mobile networks.Features:- intuitive interface and controls- secure, encrypted data transfer to the device- access and view radiology and cardiology images, videos and reports on the device- use zoom, scroll and cine loop on the images- help feature to send messages/escalations to various customer helpdesks- graphical representation of reports- print/share/fax support for radiology and cardiology reportsThis application should not be used for diagnostic purposes. It is not intended to replace radiology or cardiology workstations and should be used only when there is no access to the radiology or cardiology workstation.MphRx Cloud is a secure, Internet or Intranet based medical imaging solution that provides viewing and sharing capabilities for medical images, videos and reports.\nVersion: 1\nContent rating: 4+\nPrice: 0\nCopyright: ?? 2011 My Personal Health Record Express, Inc.\nGet app: https://itunes.apple.com/app/rajen-maniar/id545971669?uo=5\nDeveloper site: NULL\nSupport Site: https://mphrx.com/contacts\n[gallery]"],"author":["trident50"],"author_s":"https://hitsite1.cloudapp.net/author/trident50/","type":["post"],"date":["2015-04-20T16:10:01Z"],"modified":["2015-04-20T16:10:01Z"],"displaydate":["2015-04-20T16:10:01Z"],"displaymodified":["2015-04-20T16:10:01Z"],"permalink":["https://hitsite1.cloudapp.net/rajen-maniar-by-my-personal-health-records-express-inc/"],"numcomments":[0],"tags":["cardiology","data","medical","mobile"],"_version_":1500640112781819905,"score":0.737553},{"id":"999","PID":[999],"title":["Encyclopedia Children's Health by Kendall"],"content":["? This Encyclopedia of Children's Health is a one-stop source for medical information that covers common and rare diseases and medical conditions, immunizations and drugs, procedures, and developmental issues. It particularly addresses parents' concerns about their children's healthfrom before birth through age 18.? Approximately 600 full-length articles are included in this app. Articles follow a standardized format that provides information at a glance. Rubrics include:? Diseases/Disorders. Definition. Description. Demographics. Causes and symptoms. Diagnosis. Treatment. Prognosis. Prevention. Parental concerns. Resources. Key terms? Procedures. Definition. Purpose. Description. Risks. Normal results. Parental concerns. Resources. Key terms? Immunizations/Drugs. Definition. Description. General use. Precautions. Side effects. Interactions. Parental concerns. Resources. Key terms? Development. Definition. Description. Common problems. Parental concerns. Resources. Key terms\n\nDate app last updated: 2014-05-24\n\nInstall base: 1 - 5\n\nNumber of reviewers: 0\n\nRatings breakdown: five stars=0 four stars=0 three stars=0 two stars=0 one star=0\n\nAverage rating (1-5): 0\n\nApp version: 1.0\n\nSize of app: 0.3154296875mb\n\nMinimum Android version required to run app: 2.3 and up\n\nContent rating: High Maturity\n\nGet app: https://play.google.com/store/apps/details?id=com.thanhvu.ChildrenHealth\n\nDeveloper website: https://www.google.com/url?q=https://sites.google.com/site/encyclopediaapps/&sa=D&usg=AFQjCNHNqXC6IOm6wf_mnDon0fQwifRG0g\n\nDeveloper privacy policy: \n\n "],"author":["trident50"],"author_s":"https://hitsite1.cloudapp.net/author/trident50/","type":["post"],"date":["2015-04-18T23:52:03Z"],"modified":["2015-04-18T23:52:03Z"],"displaydate":["2015-04-18T23:52:03Z"],"displaymodified":["2015-04-18T23:52:03Z"],"permalink":["https://hitsite1.cloudapp.net/encyclopedia-childrens-health-by-kendall/"],"
- The topic ‘format and syntax errors’ is closed to new replies.