Django and full-text search
2012-06-08 09:34
441 查看
Structure in the flow » Blog Archive » Django and full-text search
So far, the information I read seems to suggest existing solutions are:
Based on a dedicated full-text search module djangosearch Supposed to become the official search contrib. Rather recent history (during 2008).
It’s an framework over existing, dedicated full text indexing engines: Lucene (Java version)
Solr (still Java, and also based on Lucene)
Xapian (C++)
HyperEstraier
django-sphinx Wrapper around Sphinx full-text search engine
Based on a database engine full-text capability (ie. you must create full text indexes with appropriate DB commands) For the MySQL backend, there’s already a “fieldname__search” syntax already supported in the framework, translating into a MATCH AGAINST query in SQL. Supports basic boolean operators
Reference (look at the conclusion of the article)
For PostgreSQL, depending on the version of the engine, there are solutions, but they seem complex, relative to the MySQL approach
Most simple, but very inefficient: based on a simple LIKE %keyword% query Uses the “fieldname__icontains” filter syntax
That’s what I used temporarily for get the feature going in my prototype
Other approaches are mentioned in this thread on StackOverflow.
Django and full-text search
13th February 2009, 11:18 am Lately I’ve been searching for a simple solution for full-text Model search using Django. Every task up to this point just seemed so easy, so I was a bit surprised to discover there’s no quick, clean and preferred way to go about adding site search functionality in the framework.So far, the information I read seems to suggest existing solutions are:
Based on a dedicated full-text search module djangosearch Supposed to become the official search contrib. Rather recent history (during 2008).
It’s an framework over existing, dedicated full text indexing engines: Lucene (Java version)
Solr (still Java, and also based on Lucene)
Xapian (C++)
HyperEstraier
django-sphinx Wrapper around Sphinx full-text search engine
Based on a database engine full-text capability (ie. you must create full text indexes with appropriate DB commands) For the MySQL backend, there’s already a “fieldname__search” syntax already supported in the framework, translating into a MATCH AGAINST query in SQL. Supports basic boolean operators
Reference (look at the conclusion of the article)
For PostgreSQL, depending on the version of the engine, there are solutions, but they seem complex, relative to the MySQL approach
Most simple, but very inefficient: based on a simple LIKE %keyword% query Uses the “fieldname__icontains” filter syntax
That’s what I used temporarily for get the feature going in my prototype
Other approaches are mentioned in this thread on StackOverflow.
相关文章推荐
- Django MySQL full text search - Stack Overflow
- SharePoint 2007 Full Text Searching PowerShell and CS file content with SharePoint Search
- How to make a combo box with fulltext search autocomplete support?
- UIUC大学之Coursera课程Text Retrieval and Search Engines:Week 4 Quiz
- PostgreSQL full text search
- Full Text Search
- boilerpipe(Boilerplate Removal and Fulltext Extraction from HTML pages) 源码分析
- Getting Started With MySQL's Full-Text Search Capabilities
- SQL Server 2008 Full-Text Search Overview(SQL Server 2008全文检索概览)
- MySQL Full-Text Search(转)
- iOS/Android SQLite 全文检索——FTS (Full Text Search)
- Linq实践系列(1):一行代码实现DataTable全文搜索(Full Text Search)
- Sql Server 2008 Full-text search Error: Word breaking timed out for the full-text query string.
- sps Search for FullText
- Linq实践教程(1):一行代码实现DataTable全文搜索(Full Text Search)
- Here Are 8 Of The Top Open Source Full-Text Search Engines!
- flask入门的教程-全文搜索 Full Text Search
- coursera课程Text Retrieval and Search Engines之Week 3 Overview
- Full Text Search 实现Sort的实现方案
- Free open-source SQL full-text search engine