GithubHelp home page GithubHelp logo

anthrax3 / deusu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neuroradiology/deusu

0.0 1.0 0.0 20.26 MB

Web Search-Engine

License: GNU General Public License v2.0

Batchfile 1.15% Shell 0.11% HTML 0.11% Pascal 89.78% PHP 2.08% C 4.13% C++ 0.14% Makefile 2.31% Objective-C 0.13% Elixir 0.01% C# 0.07%

deusu's Introduction

DeuSu

This is a web search-engine that can easily hold a billion web-pages in its search-index. If you want to see what it can do, see https://deusu.org/

The above website runs on an Intel E3-1225 with 32gb RAM and two 500gb SSDs. The search-index on that site currently holds about 1.08 billion WWW-pages. On average a query takes about 0.2 seconds. The transfer-speed from SSD into RAM is the limiting-factor for query-time. Even 600mb/s can be slow sometimes. :)

The software was originally written in Delphi (=Pascal). The latest Delphi version I have is XE2, and I don't know if it will compile and run in newer versions of Delphi. Please see the notes below about compiling with FreePascal for Linux and Windows.

New development will be done for FreePascal only.

Sorry for the quality of most of the code. Big parts of it were written 15 years ago when I was still young and stupid. :)

[Note 12-Jul-2014: I had to dive deep into the Indy-sourcecode the last few days. I feel a LOT better about the quality of my own sourcecode now... :) ]

Linux

Note 29-Jan-2016: Due to a bug in the Indy library "searchservernew" won't work correctly on Linux at the moment! I haven't found a fix or workaround for this yet.

As of 12-Jul-2014 the master branch will compile with FreePascal on Linux. I have tested it a bit and it at least seems to work. That of course does not mean that it is bug-free. :)

To compile with FreePascal you may need to change a pathname in build-linux.sh, so that FPC will find all the necessary files.

Compiling with FreePascal for Windows

As of 09-Feb-2015 the master branch will compile with FreePascal for Windows.

On Windows use "build-windows-fpc.bat" to compile.

You can even use FPC to cross-compile on Linux to Windows. In that case use "build-windows-on-linux.sh". You will have to manually compile FPC to enable it to cross-compile of course. This is a bit tricky... :) See http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux for how to do that.

In both cases you will probably have to adjust some compiler-options in the the .bat/.sh file to let FPC know about the path to its libraries. Somehow the default FPC install never set the paths correctly for me.

deusu's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.