|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SearchengineGeneralItems in blue are planned but not implemented yet.Search Expression LanguageFILTER is an special AND only allowed at the end...-traverse result, put all indexes with 1 in an array. select random items from indexarray till time limit reached or all items selected, put in new clean boolean array.return as result to and with...- -what about selecting modes? random, first, last.. ? first and last are trivial to implement.. Autorating is (playcount-playcountmin)*10/(playcountmax-playcountmin) In EBNF: NUMARG := number | numberid STRARG := string | stringid NUMOP : = '>' | '>=' | '<' | '<=' | '!=' | '==' STROP : = CONTAINS | EQUALS | STARTSWITH | ENDSWITH COMPARE : = NUMARG NUMOP NUMARG | STRARG STROP STRARG EXPR := COMPARE | NOT EXPR | LPAREN MEXPR RPAREN LEXPR := EXPR (AND EXPR)* MEXPR := LEXPR (OR LEXPR)* QUERY := MEXPR (SHUFFLE)? (PLAYTIMELIMIT)? EOF numberid := year | rating | playcount | autorating stringid := title | genre | artist | album | filename Tokenfile descriptionToken Types
Token Entry
Token file# Token Entries 1 EOF Token entry. EOF Todo1) optimize album / artist names.2) dynamic caching for targets with less ram (i have no idea how to do this (HCl)) CategoryPlugin: Database Searchengine [Player r11 - 22 May 2005 - 17:02:52 - MichielVanDerKolk
Copyright © by the contributing authors.
|