Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Search for an expression in a text file
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jonas, post: 2865291"] Well, for full-blown search engine libraries there are e.g. CLucene ([URL]http://clucene.sourceforge.net/[/URL]) or Estraier ([URL]http://hyperestraier.sourceforge.net/[/URL]). I haven't used any of them, though. If your demands are smaller, you might consider implementing the indexer & search engine yourself. If the amount of text is small, the index could be created in RAM, which simplifies things. And if the text files change infrequently, you would not have to any 'delete' functionality -- simply rebuild the index every once in a while. Try a web search for "create inverted index" or similar, it seems to give a few useful hits. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Search for an expression in a text file
Top