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

  • SEARCH
  • Home
  • 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 6960513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:24:41+00:00 2026-05-27T15:24:41+00:00

In the purpose of practicing for an upcoming programming contest, I’m making a very

  • 0

In the purpose of practicing for an upcoming programming contest, I’m making a very basic search engine in C# that takes a query from the user (e.g. "Markov Decision Process") and searches through a couple of files to find the most relevant one to the query.

The application seems to be working (I used a term-document matrix algorithm).

But now I’d like to test the functionality of the search engine to see if it really is working properly. I tried to take a couple of Wikipedia articles and saving them as .txt files and testing it out, but I just can’t see if it’s working fast enough (even with some timers).

My question is, is there a website that shows a couple of files to test a search engine on (along with the logically expected result)?

I’m testing with common sense so far, but it would be great to be sure of my results.

Also, how can I get a collection of .txt files (maybe 10 000+ files) about various subjects to see if my application runs fast enough?

I tried copying a few Wikipedia articles, but it would take way too much time to do. I also thought about making a script of some sort to do it for me, but I really don’t know how to do that.

So, where can I find a lot of files with separated subjects?

Otherwise, how can I benchmark my application?

Note: I guess a simple big .txt file where each line represents a “file” about a subject would do the job too.

  • 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-27T15:24:42+00:00Added an answer on May 27, 2026 at 3:24 pm

    You can get wikipedia pages by using a recursive function and loading the html from every page linked to by one set page.

    if you have some experience with c# this should help you:
    http://www.csharp-station.com/HowTo/HttpWebFetch.aspx

    then loop through the text and collect all the instances of the text: "<a href=\""
    and recursively call that method. You should also use a counter to limit the number of recursions.

    Also, to prevent OutOfMemory exceptions you should stop the method when it reaches multiples of some number of iterations and write everything to a file. Then flush the old data from a string

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

Sidebar

Related Questions

Purpose: Create a program that takes two separate files, opens and reads them, assigns
The purpose of this query is to act like a search. Unfortunately the query
Purpose : Every half-hour I query database to find a post that havn't published
My purpose: making an API call to a server, and getting back from them
The purpose of this code is to pull upgrade.zip from a central server, extract
The purpose of my application is to pick some localized strings from an assembly.
Purpose: To convert the following code from Selenium IDE to RC in C#. <tr>
purpose:i want to limit the times that a task can make syscall. so,i add
Purpose: JComboBox to list down ages that a user can select I realize that
Purpose of the app: A simple app that draws a circle for every touch

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.