Loading...
 
Skip to main content

History: Search

Source of version: 17 (current)

Copy to clipboard
__Big project for ((Tiki7)) -> ((Unified Index))__


To be considered:
* http://www.opensearch.org/
** http://versioneye.wordpress.com/2013/11/05/versioneye-now-supports-opensearch/

Zend_Search_Lucene versus MySQL
* Advantage
** can weight fields. Ex: a title over the content
** can search on fields (ex: only on title). Probably can easily filter on language
** English tokenization by default
** Search globally on all the object types and not type by type.
* Possible problems??
** To have the good scoring, all the objects must be fetched (but less than 30secs for lucene to search over 4500 tiki files + 1500 wiki pages
(Some possibilites to speed up: [http://forums.zend.com/viewtopic.php?f=69&t=741])
** the index optimization must be run with a batch....

Related: ((Character substitutions))

! Todo
* Need a way to detect a crash 

! Open
{wishes filtervalue="67" status="o"}

! Pending
{wishes filtervalue="67" status="p"}

! Closed
{wishes filtervalue="67" status="c"}


!! Interested community members
{LIST()}
    {filter type="trackeritem"}
    {filter field="tracker_id" exact="2"}
    {filter field="tracker_status" content="o OR p OR c"}
    {filter categories="67"}
    {sort mode="modification_date_ndesc"}
    {pagination max="20"}
    {OUTPUT(template="table" pagination="y")}
        {column label="Login" translatelabel="y" field="f_39" sort="tracker_field_f_39" mode="raw"}
        {column label="Full Name" translatelabel="y" field="f_11" sort="tracker_field_f_11" mode="raw"}
        {column label="Interested in features" translatelabel="y" field="f_61" sort="tracker_field_f_61" mode="raw"}
        {column label="Last Modif" field="modified"}
    {OUTPUT}
    {FORMAT(name="f_39")}{display name="tracker_field_f_39" format="objectlink"}{FORMAT}
    {FORMAT(name="f_11")}{display name="tracker_field_f_11" default=""}{FORMAT}
    {FORMAT(name="f_61")}{display name="tracker_field_f_61" format="trackerrender" default=""}{FORMAT}
    {FORMAT(name="modified")}{display name=modification_date format=date dateFormat="%d %b %y %H:%M"}{FORMAT}
{LIST}
Show PHP error messages