CirrusSearch0.2 (0be5deb) Elastica1.3.0.0 (75e2f58)
MediaWiki 1.31.0
PHP 7.0.30-0+deb9u1 (apache2handler)
MariaDB 10.1.26-MariaDB-0+deb9u1
ICU 57.1
Elasticsearch 5.6.4
Debian Stretch
With that data, I'm having a major trouble in my wiki. I'm getting no results when searching. Files are indexed. When adding ?action=cirrusDump
to any URL returns the right data in JSON (I think). When trying a query via curl (in command line) it retrieves the right results (for example curl -X GET "127.0.0.1:9200/_search?q=SOCIAL&pretty"
). LocalSettings.php section lists this:
$wgServer = "https://192.168.0.154";
[...]
wfLoadExtension( 'PdfHandler' );
wfLoadExtension('PDFEmbed');
wfLoadExtension( 'Elastica' );
require_once "$IP/extensions/CirrusSearch/CirrusSearch.php";
#$wgDisableSearchUpdate = true;
$wgCirrusSearchServers = ['127.0.0.1'];
$wgSearchType = 'CirrusSearch';
The var/log/daemon shows nothing rare. No error. No strange message. Search Engine is ALWAYS retrieving null results. Could it be something about stunneling? If yes, how can I solve the issue? I'm accessing to my wiki from "outside" by https://192.168.0.154 (I'm in a local network and the server wiki is on a VM on the same network) . Altough if I try curl to httpS://127.0.0.1:9200 i get the message curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
. Can it be something from this perspective? The URLs generated by the Search are like this ("Squad" is a word in that is inside a Wiki page and my wiki language is set to Spanish):
https://192.168.0.154/index.php?search=Squad&title=Especial:Buscar&go=Ir&searchToken=2m258n64r6folcjwvc8ad54un
Please heeeelp! I've trying everything I've Googled and metasearching in Help_Talk but I'm really frustrated. The main target of using CirrusSearch+Elastica+Elasticsearch is searching inside the content of PDF Files (I'm building an knowledge wiki). Thank you for reading!