Search module, problems with indexing
Hello!
I have problems with a search module, namely the indexing of site:
The module is installed and running but does not index anything, I tried to index through CLI, select pages to be indexed manually, prescribed route to the site map, changed config and the result is the same, I don't get any errors ( and success reports too ), if I create a searchable index(fuel/tools/search/create) and put page content, it appears in the search results, if I do reindex (fuel/tools/search/reindex), search data disappears...
during indexing (Search -> Reindex) in console appears message:
index_site
fuel/tools/search
status - 200
response - <pre style="text-align: left;"></pre>
The message is always the same and does not change if I indexed the entire site or a single page (runtime also does not change)...
Please tell me what could be the problem.
p.s. Should indexed content appear in the admin (fuel/tools/search) if successful indexed entire site?
Comments
The problem disappeared when I removed this 3 lines:
$config['search']['settings']['user_agent'] = array(); $config['search']['settings']['delimiters'] = array('default' => '<div id="content">'); $config['search']['settings']['query_type'] = array('type' => 'select', 'options' => array('match' => 'match', 'match boolean' => 'match boolean', 'like' => 'like'));
If leave at least one, get error:
Message: DOMXPath::query() [domxpath.query]: Invalid expression
Filename: libraries/Fuel_search.php
Line Number: 763
Tried to change value:
$config['search']['delimiters'];
$config['search']['excerpt_tag'];
$config['search']['settings']['delimiters'];
Regardless of the values got this error.
It was found that search does not index pages with ukrainian( or russian) language correctly...
It indexes the page, but correctly displayed only english or numeric content, example:
2014 , , , , 105 000 . , , , 20- DIY. 1500 . , , .
How can I solve this problem?
p.s.
Encoding of content is UTF-8
I removed zap_gremlins func from search $config['cleaning_funcs'] and it worked fine.