The live search is other web 2.0 feature that the PHProjekt 6 will have.
This search works on any key press,
and shows any item (Projects, Todos, Notes, Events, Files, etc) that contain the string or a part of them.
When you save an item, all the text fields will be stored for search it later.
For each text field, the indexer class looks for all the words in it.
Even if the field is a file type, the indexer class open the file and looks for any word on it.
Per now, only text files are allowed, but the idea is extend that for see inside other types of files like excel, word, pdf, etc.
To figure out what are words in a string, PHProjekt implements a set of heuristics.
The words must have more than 3 characters and all the unusual characters are omitted.
Characters between two stop characters are taken as words.
The stop characters are all non word characters in PCRE.
In addition there is a file stopwords.txt where are all the banned words for omit it use.