1. 11 Apr, 2019 1 commit
  2. 02 Apr, 2019 1 commit
    • Nicolas Gelot's avatar
      Unify the redis key generation · 6d400c45
      Nicolas Gelot authored
      SearchData is composed by SearchQuery field, so we use inheritance
      in order to use the same field naming. In that way we can use the an
      uniq way to build our redis key.
      6d400c45
  3. 01 Apr, 2019 6 commits
  4. 25 Jan, 2019 1 commit
  5. 10 Jan, 2019 1 commit
  6. 08 Jan, 2019 1 commit
    • Daniel J. Ramirez's avatar
      Fixed search. · fa1624c0
      Daniel J. Ramirez authored
      Before this, selecting next page in image gallery would put you in general search again,
      also fixed mixed video results on first page, that needs to be handled the same as first
      page images (currently missing).
      fa1624c0
  7. 07 Jan, 2019 1 commit
  8. 16 Sep, 2018 1 commit
  9. 19 Aug, 2018 2 commits
  10. 26 Jul, 2018 1 commit
  11. 22 Mar, 2018 1 commit
  12. 06 Dec, 2017 1 commit
  13. 05 Dec, 2017 1 commit
  14. 22 Nov, 2017 1 commit
  15. 20 Jul, 2017 1 commit
  16. 12 Jul, 2017 1 commit
  17. 15 May, 2017 1 commit
  18. 18 Mar, 2017 1 commit
    • marc's avatar
      make search language handling less strict · fd65c129
      marc authored
      languages.py can change, so users may query on a language that is not
      on the list anymore, even if it is still recognized by a few engines.
      
      also made no and nb the same because they seem to return the same,
      though most engines will only support one or the other.
      fd65c129
  19. 21 Jan, 2017 2 commits
  20. 20 Jan, 2017 1 commit
  21. 02 Jan, 2017 1 commit
  22. 30 Dec, 2016 4 commits
  23. 15 Dec, 2016 1 commit
  24. 14 Dec, 2016 1 commit
  25. 09 Dec, 2016 2 commits
  26. 19 Nov, 2016 1 commit
  27. 06 Nov, 2016 1 commit
  28. 05 Nov, 2016 1 commit
    • Alexandre Flament's avatar
      Simplify search.py, basically updated PR #518 · 01e2648e
      Alexandre Flament authored
      The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response)
      It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended.
      
      New / changed stats :
      * page_load_time : record the HTTP request time
      * page_load_count: the number of HTTP request
      * engine_time : the execution total time of an engine
      * engine_time_count : the number of "engine_time" measure
      
      The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count)
      
      To sum up :
      * Search.search() filters the engines that can't process the request
      * Search.search() call search_multiple_requests function
      * search_multiple_requests creates one thread per engine, each thread runs the search_one_request function
      * search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container
      * search_multiple_requests waits for the the thread to finish (or timeout)
      01e2648e
  29. 02 Nov, 2016 1 commit