Files
gitlabhq/lib/gitlab
Dmitriy Zaporozhets 9a4ef7e7eb Search results libraries added
Gitlab::SearchResults and Gitlab::ProjectSearchResults are libraries we
are going to use to get search results based on query, enitity type and
pagination.

It will allow us to get only issues from project #23 where title or
description includes 'foo'.

Ex:

search_results = Gitlab::ProjectSearchResults.new(project.id, 'foo', 'issues')

search_results.objects => # [<Issues #23>, <Issues #34>]
search_results.issues_count => 2
search_results.total_count => 12 (it includes results from comments and
merge requests too)

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-26 23:32:41 +03:00
..
2014-07-28 16:46:36 +02:00
2013-08-27 21:39:34 +03:00
2012-09-11 23:24:53 +03:00
2014-01-19 23:39:56 +04:00
2014-08-14 15:48:14 +04:00
2012-09-11 23:24:53 +03:00
2014-01-19 23:39:56 +04:00
2013-09-04 18:15:42 +03:00
2014-03-03 08:40:29 +01:00
2014-07-08 18:15:23 +03:00
2014-06-10 17:51:49 +03:00
2014-03-21 23:08:36 +02:00
2013-06-06 10:10:51 +09:00