Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Build a search engine for plain text file

Posted on 2011-02-23
1
Medium Priority
?
279 Views
Last Modified: 2012-05-11
I have a file with about 900,000 lines. All fields are tab delimited. I would like to build a quick search engine around this text file without using any database. I used to do it long time ago but couldn't recall what tool I have used.

Do you have any suggestion?

Thanks!
0
Comment
Question by:mybluegrass
1 Comment
 
LVL 5

Accepted Solution

by:
jason987 earned 1000 total points
ID: 34965495
Sounds like grep:

http://gnuwin32.sourceforge.net/packages/grep.htm

or Awk:

http://gnuwin32.sourceforge.net/packages/gawk.htm

I know I can pretty much do anything I need with those and other usual scripting.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question