Re: [Tracker] Indexing the content of java files



On Sat, 2007-11-03 at 10:48 +0100, Jos Dirksen wrote:
Hi,

Using tracker it's now very easy to search for mails and documents.
Only one thing isn't working for me the way I'd like it: searching
inside java source files. I see trackerd indexing the files, but when
I search for content I know is inside the java source files, the files
aren't found? Perl files seem to be indexed correctly, however, since
I see those returning from my searchs? 

I'm I missing something here, or are java source files just not
searchable?

they should be assuming the mime type is correct - does nautilus
identify the java files as :

"text/x-java" or "text/x-java-source" or "application/x-java" or
"application/x-javascript" (tracker definitely indexes all of these)

If not, make sure you have the shared-mime-info package installed

Also there is a bug in tracker-search-tool in 0.6.3 which omits the last
category in a search

to be sure if it is searchable try tracker-search on the command line






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]