View Single Post
  #3 (permalink)  
Old 08-24-2007, 10:41 AM
s3000xl s3000xl is offline
Junior Member
 
Join Date: Aug 2007
Posts: 5
Default

Quote:
Originally Posted by kees View Post
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
Hmmm... doesn't sound nice! I want to do something equivalent to this Java example:

Code:
Document document = new Document();
document.add(new Field("contributor", "s3000xl", Field.Store.NO, Field.Index.TOKENIZED));
document.add(new Field("contributor", "kees", Field.Store.NO, Field.Index.TOKENIZED));
With this I can do a search for all documents with contributor "s3000xl".
Reply With Quote