I'm trying to create an index using Zend Lucene. In Zend's manual (http://framework.zend.com/manual/en/zend.search.lucene.extending.html) it is described how to use a default analyzer:
Zend_Search_Lucene_Analysis_Analyzer::setDefault(
new Zend_Search_Lucene_Analysis_Analyzer_Common_Text());
So actually this sets the default analyzer for all fields. Question is: If i have all kinds of fields, some hold num+string values, some holds regular words. Can i set a different analyzer for each field?
I see it is possible in java's lucene http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.html