in reply to Re: Re: Re: Re: Re: Re: speeding up a file-based text search
in thread speeding up a file-based text search

Depends on your word list. You could store the in-record location(s) of the word as well; then, when doing a phrase search, you can intersect the sets for each word by record and then check for consecutive locations in the correct order. This is, AFAIK and at least roughly, the way all of the big web search engines work.

Makeshifts last the longest.

  • Comment on Re^7: speeding up a file-based text search (word list for phrase search)