[Koha] Facets show more link with elastic search

Abdulsalam Yousef ayousef at kwareict.com
Tue Apr 18 07:19:49 NZST 2017


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 at 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 at 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 at 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.
>>
>>
>>
>>
>


More information about the Koha mailing list