Issue Type: Bug Created: 2009-07-11T12:59:18.000+0000 Last Updated: 2011-08-30T12:35:35.000+0000 Status: Open Fix version(s): Reporter: ivan (ivan.veretelnyk) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene
Related issues: Attachments:
When use case insensetive analyzers lucene work good. But sortings are always case sensetive. It would be good to have such option. Because I really think that word "apache" should be before word "Zend" if I sort as Strings. It could be fixed very easy like this :
near line 990 of Zend_Search_Lucene class.
$valuesArray = array_map('mb_strtolower', $valuesArray); $sortArgs = $valuesArray;
Posted by Shaun Farrell (farrelley) on 2011-08-30T12:35:35.000+0000
Can you post a full code example. This seems to work for me with
$hits = $index->find($query, '$field', SORT_STRING, SORT_DESC);
Have you found an issue?
See the Overview section for more details.