Skip to content

Example of full text search in PostgreSQL: script for parsing Wikipedia dump

License

Notifications You must be signed in to change notification settings

tendres/postgresql-fts-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

postgresql-fts-example

Example of full text search in PostgreSQL: script for parsing Wikipedia dump.

How to use:

  1. Download Wikipedia dump from here.
  2. Unpack it: bzip2 -d -k -v enwiki-20170401-pages-articles.xml.bz2
  3. Import data to PostgreSQL:
mkvirtualenv postgresql-fts
pip install -r requirements.txt
./parse.py enwiki-20170401-pages-articles.xml

About

Example of full text search in PostgreSQL: script for parsing Wikipedia dump

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%