Closed (fixed)
Project:
Recruiter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2012 at 08:03 UTC
Updated:
16 Dec 2015 at 23:37 UTC
Jump to comment: Most recent
Since search_api database backend is default as of #1140994: Solr search vs database search I got the following error on a recruiter site while indexing:
Indexing a maximum number of 50 items for index Job search.
WD search_api_db: An overlong word (more than 50 characters) was encountered [warning]
while indexing, due to bad tokenizing. It is recommended to enable the
"Tokenizer" preprocessor for indexes using database servers. Otherwise, the
service class has to use its own, fixed tokenizing.
WD search_api_db: An overlong word (more than 50 characters) was encountered [warning]
while indexing, due to bad tokenizing. It is recommended to enable the
"Tokenizer" preprocessor for indexes using database servers. Otherwise, the
service class has to use its own, fixed tokenizing.
WD search_api_db: An overlong word (more than 50 characters) was encountered [warning]
while indexing, due to bad tokenizing. It is recommended to enable the
"Tokenizer" preprocessor for indexes using database servers. Otherwise, the
service class has to use its own, fixed tokenizing.
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Unsupported operand types in
/.../search_api_db/service.inc,
line 506
enabling the solr backend works as a workaround to the the problem:
drush en recruiter_search_solr
Comments
Comment #1
mh86 commentedPartly fixed that problem by enabling the tokenizer for the database backend. The tokenizer will help to split words with whitespaces. Nevertheless, words longer than 50 characters can't be correctly indexed by the database backend (see #1117074: Indexing does not complete for more info). Fortunately words longer than 50 characeters are very uncommon for most languages.
Comment #3
menatito commentedAn overlong word (more than 50 characters) was encountered while indexing, due to bad tokenizing. It is recommended to enable the "Tokenizer" preprocessor for indexes using database servers. Otherwise, the service class has to use its own, fixed tokenizing.
Comment #4
dboegerThese warnings are getting triggered in our site by links in the body field. Are there any suggestions about how to handle links in the body field so they don't trigger these errors?