Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6177939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:21:52+00:00 2026-05-24T00:21:52+00:00

Possible Duplicate: Build an index for substring search? I’m developing a filename search tool.

  • 0

Possible Duplicate:
Build an index for substring search?

I’m developing a filename search tool. I’d like to search a harddrive (or multiple harddrives) for, perhaps, millions of filenames.

Given the file: application 3 - jack smithinson

Searches:

  1. ‘application‘, ‘3‘, ‘jack‘, ‘smithinson‘
  2. ‘smith‘
  3. ‘inson‘

Should all return this file.

What are the best data structures for this kind of operation and why?

  1. Binary tree.
  2. Trie.
  3. SQLite Database, of filenames
  4. More?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:21:52+00:00Added an answer on May 24, 2026 at 12:21 am

    Store these file names in Lucene indexes. You can find more information here
    http://incubator.apache.org/lucene.net/
    Lucene lets you create highly optimized indexes for search. Yahoo has used it for years for their web search engine.
    It offers an abstract way to create indexes without worrying about the internal implementation. It’s as easy as creating an xml document in memory and then serialize it to disk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Elevating process privilege programatically? I'd like to build a console application in
Possible Duplicate: Use SVN Revision to label build in CCNET I'm working through the
Possible Duplicate: Setting up a build dependency without using a reference? Is it possible
Possible Duplicate: Build Eclipse Java Project from Command Line I want to compile my
Possible Duplicate: How to Build a custom simple DNS server in C/C++ As the
Possible Duplicate: TFS 2010 Custom Build Activity TF215097 error I'm trying to create a
Possible Duplicate: compiling project with jdk1.5 using maven2 I am trying to build java
Possible Duplicate: To use Wordpress for developing a web application? For instance, I've been
Possible Duplicate: Howto build a SQL statement with using IDs that might not be
Possible Duplicate: Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.