CI Zend Lucene Searching - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: CI Zend Lucene Searching (/showthread.php?tid=57599) |
CI Zend Lucene Searching - El Forum - 03-26-2013 [eluser]rmccallum[/eluser] Hi guys, looking for some help using Lucene. An existing site has Lucene searching and indexing in place using a freetext search form in the header. This submits data to a search controller which queries the index files in Search for results based on the input->post('search_query'). I would like to add in filtering for a number of categories. The categories have already been included in the index files for the data but I cannot pass in an array to the find() function. Can anyone help out here? I can always do filtering afterwards (as in get back all results matching the freetext then prune based on the categories selected) but i would prefer a more elegant solution. Regards, Rob. |