简体   繁体   中英

Fast Search With Django + PostgreSQL

I am newbie working on Django with PostgreSQL database. I want to know that, what are the most efficient approaches for fast search on large data (millions of records). because I ran query on 300K records, it took too much time.

How can I do fast search in Django?

If you're already using Django with PostgreSQL the easiest way to improve your search speed and accuracy is to use full-text search with indexes .

You can read about it in the Full text search section of the Django documentation.

If you need a tutorial about the subject you can read the article Full-Text Search in Django with PostgreSQL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM