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.
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". , , , . , - , - .
, , , , Luke.
$doc->addField(Zend_Search_Lucene_Field :: Text($fieldName, implode(' ', $fieldValue)));
, , .
Source: https://habr.com/ru/post/1720180/More articles:Orm doctrine: traversing lazy boot and prefetch entries in getter - frameworksHow to start an external application from Scala - scalaUpdatePanel does not update - c #How can I solve ODE without using nested functions? - functionASP.NET MVC Model State - asp.netКаков наиболее ненавязчивый способ использования предварительно скомпилированных заголовков в Visual С++? - c++Writing a binary file - c #asp http post reading data - c #How to use an IF statement in a loop using StringTemplate - c #WEBBrowser Control; Is it possible to save Webbrowser content in SQL DB? - c #All Articles