Does Zend Lucene support multi-valued fields?

I wanted to know if Zend Lucene supports multi-valued fields. I tried passing the array to the field and it does not give any errors when indexing. But it does not return any results when searching. Any help is appreciated.

+3
source share
2 answers

No:

Fields are always saved and returned from the UTF-8 encoded index. Any required conversion to UTF-8 is automatic.

, UTF-8 , - . "," "-" "" "json_encode". , , , . , - , - .

+3

, , , , Luke.

$doc->addField(Zend_Search_Lucene_Field :: Text($fieldName, implode(' ', $fieldValue)));

, , .

0

Source: https://habr.com/ru/post/1720180/


All Articles