text indexing on Linux?

Dave Cramer davecramer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jul 5 16:37:27 UTC 2012


Well, postgresql has a builtin text search, so I'm not convinced that
grep is actually faster.

Dave Cramer


On Thu, Jul 5, 2012 at 12:31 PM, William Park <opengeometry-FFYn/CNdgSA at public.gmane.org> wrote:
> Hi all,
>
> Suppose all your files are text files and contain 10 words max.  What
> program would you use to index them based on contents?  That is, given a
> set of words, it has to return the name of files that contain those
> words.
>
> I know of "updatedb" and "locate", but they index only filenames, not
> the content.  For my need, "grep" is still faster than any SQL solution,
> but I'm curious as to what is the correct approach.
> --
> William
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list