View Single Post
  #2 (permalink)  
Old 08-24-2007, 10:31 AM
kees kees is offline
Junior Member
 
Join Date: Jul 2007
Posts: 7
Default

Quote:
Originally Posted by s3000xl View Post
How do I create/access multi-value fields? In the Java version I can add multiple values for the same field but the Zend version doesn't seem to be processing this properly.
Hi,

I think there is no direct solution for your question. I think you want to save values in a set like MySQL (SET datatype)

What you could do is to binary index your data. This causes it's only stored and not searchable, but it is accesable.

<?
$doc->addField(Zend_Search_Lucene_Field::UnIndexed('mul tiplefield',serialize($yourarray));
?>

Is an example
Reply With Quote