thank you Mr. Steve. Now I understood and i figured out to separate field to
title_th and title_en and it worked ;)
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-index-data-in-muliValue-field-with-key-tp4110653p4110981.html
Sent from the Solr - User mailing list
) {
> $doc = new Apache_Solr_Document();
>
> foreach ( $fields as $key => $value ) {
> if ( is_array( $value ) ) {
> foreach ( $value as $datum ) {
> $doc->setMultiValue( $key, $datum );
> }
> }
> else {
> $doc->$key = $value;
> }
> }
>
> $documen
olr->commit();
$solr->optimize();
}
catch(Exeption $e)
{
echo $e->getMessage();
}
?>
*but the response that I'm getting now like below