ZF-1216: Query language needs mechanisms to qreate queries for non-tokenized fields


Non-tokenized but indexed fields (ex. keywords) stores data "as is". So '' is stored as ''

If we try to find this value: "", query parser will break it into three different terms: 'url:framework', 'url:zend' and 'url:com'. No one of these terms matches ''

So we get empty result set for this query.

There is no way to search through non-tokenized fields with current query language now. It's possible with API methods:

$term = new Zend_Search_Lucene_Index_Term('', 'url')
$query = new Zend_Search_Lucene_Search_Query_Term($term);

$hits = $index->find($query);


Postponed to post-1.0 period