Topic on Extension talk:CirrusSearch

Jump to navigation Jump to search

Cirrus Search not giving auto suggestion/complete when typing into search bar

4
Summary by Ciencia Al Poder

Duplicate of Topic:Wbwh27c09uzyiq5s

Pooja2425 (talkcontribs)

Hi I have integrated the elastic search server with Cirrus search. Its giving me results but auto suggest is not working, Result came after hitting enter .

Request URL of Cirrus search: http://wiki/api.php?action=opensearch&format=json&formatversion=2&search=test&namespace=0%7C2%7C4%7C12%7C202%7C208%7C300%7C302%7C304%7C306%7C308%7C310%7C312%7C314%7C316%7C318%7C320%7C322%7C324%7C326%7C328%7C330%7C332%7C334%7C336%7C338%7C340%7C342%7C346%7C348%7C350%7C352%7C354%7C356%7C358%7C360%7C364%7C368%7C370%7C372%7C374%7C378%7C380%7C382%7C384%7C386%7C388%7C390%7C392%7C396%7C400%7C402%7C404%7C406%7C408%7C410%7C418%7C422%7C424%7C428%7C434%7C436%7C440%7C442%7C444%7C448%7C450%7C452%7C454%7C456%7C458%7C460%7C462%7C464%7C466%7C468%7C470%7C472%7C474%7C476&limit=10


Request URL of Sphinx Search :

https://wikidev.equinor.com/wiki/api.php?action=opensearch&format=json&formatversion=2&search=rrr&namespace=0%7C2%7C4%7C12%7C202%7C208%7C300%7C302%7C304%7C306%7C308%7C310%7C312%7C314%7C316%7C318%7C320%7C322%7C324%7C326%7C328%7C330%7C332%7C334%7C336%7C338%7C340%7C342%7C346%7C348%7C350%7C352%7C354%7C356%7C358%7C360%7C364%7C368%7C370%7C372%7C374%7C378%7C380%7C382%7C384%7C386%7C388%7C390%7C392%7C396%7C400%7C402%7C404%7C406%7C408%7C410%7C418%7C422%7C424%7C428%7C434%7C436%7C440%7C442%7C444%7C448%7C450%7C452%7C454%7C456%7C458%7C460%7C462%7C464%7C466%7C468%7C470%7C472%7C474%7C476&limit=10&suggest=true

SInce iam not getting suggest=true into Cirrus Search.


Pls suggest, I need auto suggestion/complete help when typing into Cirrus Search Bar.

Ciencia Al Poder (talkcontribs)

What do you get on error console?

Pooja2425 (talkcontribs)

{"error":{"code":"toomanyvalues","info":"Too many values supplied for parameter \"namespace\". The limit is 50.","limit":50,"lowlimit":50,"highlimit":500,"docref":"See http://wikipoc.equinor.com/wiki135/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."}}

I am getting response, but not getting auto complete /auto suggest when typing into search engine as we are getting in default wiki search engine and sphinex search integrated search engine.


pls suggest , if i have to reduce the limit then how to reduce limit of my request.

Ciencia Al Poder (talkcontribs)

Please don't open more than one thread for the same problem