14

Will Unity Search have support for content search? I know tracker can index your files and you can then search for them, but is it possible to get this with "in" unity?

use case:

  1. I click the super key and search for "lamda" and I get the pdf and py files where this string is located (Maybe with a preview of the files?). Also if the file with name lamda.odf will be shown
Seth
  • 58,122
nnyegaard
  • 263
  • Please mark didrocks answer as marked if it answers your question – Manish Sinha Mar 30 '12 at 05:55
  • Since tatewaki wants full-text content search, which zeitgeist doesn't provide, it looks like didrock's answer is not correct and @sup's answer about recoll is the better. Is there a Unity lens for the metatracker search engine? – nealmcb May 23 '12 at 17:44

2 Answers2

8

Install recoll-lens (as of 26 March 2012 this works only for 11.10):

sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on
sudo apt-get update
sudo apt-get install recoll-lens recoll

Run recoll (open dash, type recoll and there you are), and create an index (it might take some time) - the app will ask for it itself when first run. (In preferences, you may want to set it up so that it reindexes your files regularly or on the fly.) Then logout and login and you have a new lens that provides full-text search. It is accessible from general Dash as well (after hitting super).

Information taken from http://www.webupd8.org/2012/03/recoll-lens-full-text-search-unity-lens.html

Ron
  • 20,638
sup
  • 4,862
5

We are using zeitgeist to get the search done in Unity. Zeitgeist is using a "fts" extension (full text search) which is enabled by default in ubuntu.

So, if you opened your file already, you will be able to find it typing some keywords from its content in the file lens.

Seth
  • 58,122
didrocks
  • 2,452
  • 1
    Okay nice, but like John says it would be nice if it was possible to index all my files without opening them? – nnyegaard May 01 '11 at 08:14
  • It wont search completely inside all the files. That would be too expensive. It does a fts on the Title property of Event.Subject of a Zeitgeist event. Mikkel can answer better – Manish Sinha Jun 15 '11 at 13:22