Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. Tagging > Finding tags

11.5. Finding tags

At the beginning of this chapter, we planned on covering searching for tickets using a query such as tag:iteration_1 state: open. This magical method would return all the tickets in association with the iteration_1 tag that were marked as open. This helps users scope down the list of tickets that appear on a project page to be able to better focus on them.

There’s a gem developed specifically for this purpose called Searcher[4] that you can use. This provides you with a search method on specific classes, which accepts a query like the one mentioned and returns the records that match it.

[4] This gem is good for a lo-fi solution but shouldn’t be used in a high search-volume environment. For that, look into full text search support for your favorite database system.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint