This is the output of curl -XGET "localhost:9200" command { "status" : 200, "name" : "Hammerhead", "cluster_name" : "elasticsearch", "version" : { "number" : "1.7.6", "build_hash" : "c730b59357f8ebc555286794dcd90b3411f517c9", "build_timestamp" : "2016-11-18T15:21:16Z", "build_snapshot" : false, "lucene_version" : "4.10.4" }, "tagline" : "You Know, for Search" } On Mon, Apr 17, 2017 at 10:19 PM, Abdulsalam Yousef <ayousef@kwareict.com> wrote:
Hello All, Concerning the Facets Show more previous problem with ElasticSearch, I've noticed this error ( [DEBUG][action.search.type ] [Professor Power] [koha_biblios][2], node[3q5C0W4oQsa7Ovj2QMmj5w], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@40bac79f] org.elasticsearch.search.SearchParseException: [koha_biblios][2]: from[-1],size[20]: Parse Failure [Failed to parse source [{"size":20,"aggregations":{"homebranch":{"terms":{"field": "homebranch__facet"}},"su-geo":{"terms":{"size":"20"}}," holdingbranch":{"terms":{"field":"holdingbranch__facet"} }},"from":0,"query":{"query_string":{"lenient":true," query":"(_all:science)","default_field":"_all","fuzziness":"0","default_ operator":"AND"}},"facets":{"se":{"terms":{"field":"se__ facet"}},"holdingbranch":{"terms":{"field":"holdingbranch__facet"}}," author":{"terms":{"field":"author__facet"}},"homebranch": {"terms":{"field":"homebranch__facet"}},"subject":{"terms":{ "field":"subject__facet"}},"su-geo":{"terms":{"size":"20", "field":"su-geo__facet"}},"location":{"terms":{"field":" location__facet"}},"itype":{"terms":{"field":"itype__facet" }},"copydate":{"terms":{"field":"copydate__facet"}}}}]] ) in elasticsearch.log file, Any suggestions about the reason?
Thanks in advance
On Thu, Mar 9, 2017 at 6:44 PM, Abdulsalam Yousef <ayousef@kwareict.com> wrote:
Hello Jonathan,
Yes, this is our koha OPAC url (http://koha.maktabat-online.com/cgi-bin/koha/opac-search.pl ?idx=&q=science&branch_group_limit=) after searching for science word, And this after selecting (Authors) facets show more link http://koha.maktabat-online.com/cgi-bin/koha/opac-search.pl? idx=kw&q=science&expand=author#author_id
Thanks in advance.
On Thu, Mar 9, 2017 at 9:05 AM, Abdulsalam Yousef <ayousef@kwareict.com> wrote:
Hello all,
We are facing a problem in Facets show more link with elastic search, Selecting facets show more link doesn't show more results of (Authors, Topics, ...etc) except (Home an Holding branches work perfectly), Instead of this, It shows the following messages
*No results found!*
You did not specify any search criteria. Error: Unable to understand your search query, please rephrase and try again.
We are using Koha 16.11.01 with ElasticSearch as a search engine
Thanks in advance.