summaryrefslogtreecommitdiff
path: root/searx/results.py
AgeCommit message (Collapse)Author
2017-05-22[mod] add category to each results, and change group criterias (template and ↵Alexandre Flament
existing image)
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-01-16[enh] show spelling correctionsDavid A Roberts
2016-12-30[mod] result_container.extend sets result['engine'] = engine_name for each ↵Alexandre Flament
result
2016-11-19[enh] add quick answer functionality with an example answererAdam Tauber
2016-11-02Clean up the architecturedalf
Purposes : - isolate the plugins calls - distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc... Details : - request.request_data contains request.form or request.args (initialize inside pre_request() function) - Query class is renamed RawTextQuery - SearchQuery class defines all search parameters - get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code) - Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter - SearchWithPlugins class inherites from Search class, and run plugins - A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code). - All plugins code is executed inside the try...except block (webapp.py, index function) - advanced_search HTTP parameter value stays in webapp.py (it is only part of UI) - multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before) - paging value is stored in the result_container class (compute in the extend method) - test about engine.suspend_end_time is done during search method call (instead of __init__) - check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
2016-08-14[fix] don't merge results with distinct fragmentsDavid A Roberts
2016-08-05[fix] merge infoboxes based on weightmarc
also minor changes in attributes and images from wikidata
2016-08-05[fix] urls merge in infobox (#593)marc
TODO: merge attributes
2016-07-18Merge pull request #621 from stepshal/anomalous-backslash-in-stringAdam Tauber
Fix anomalous backslash in string
2016-07-17[fix] pep8Adam Tauber
2016-07-16[mod][fix] use the average of results number ++ do not display smaller ↵Adam Tauber
result number than the actual result count - closes #600
2016-07-11Fix anomalous backslash in stringstepshal
2016-07-10Fix quantity of blank lines after code object.stepshal
2016-06-28[enh] display number of resultsAdam Tauber
2016-04-17[enh] wikipedia infoboxa01200356
creates simple multilingual infobox using wikipedia's api
2016-03-30[fix] try to decode url - closes #527Adam Tauber
2016-02-26Fix results with no schemeLuc Didry
Related to #428, which was fixed in e3df22b but broken in a refactoring (b6c3cb0)
2015-10-26[fix] answer result typeAdam Tauber
2015-10-03[fix] typoAdam Tauber
2015-10-03[enh][mod] result handling refactorAdam Tauber
Several changes has been made: - Parallel result merge - Scoring algorithm slightly changed (see result_score()) - Proper Thread locking on global data manipulation