Solved

Build a search engine for plain text file

Posted on 2011-02-23
1
275 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 250 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 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