Open goto-bus-stop opened 7 years ago
Will base this on ElasticSearch/Lucene queries. Should extract players/maps/etc from the query string entered in the search box.
So should implement a query string parser in PHP. And probably extend it with a few shortcuts for searching for players, which will be compiled to Lucene queries.
An example something the query parser could do is detect player/civ pairs and turn them into strict Lucene terms:
TheViper (Huns)
→ (name:TheViper AND civilization:17)
Where users can select players, maps etc they want to search for.