What is better ? One big field or many small?
问题 I'm about writing a search engine based on Zend Search Lucène. My objects have many different fields (10 text type), and i would like to know which of these ways is the best. (All fields are unstored, just indexed, I don't need to recover them.) One big field, (concatenation of many small fields) : $content = $textfield1 . $textfield2 . $textfield3 . $textfield4 ... Zend_Search_Lucene_Field::unStored("content", $content); OR Many small fields : Zend_Search_Lucene_Field::unStored("content",