• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux django-sphinx Download

django-sphinx

September 20, 2009
This software offers a layer for a full-text search engine, integrating robust Sphinx and Django functionalities. It enables efficient searching of databases, with a straightforward setup and integration process.
Version 2.1.2
License BSD License
Platform Linux
Supported Languages English
Homepage code.google.com
Developed by David Cramer
Django-Sphinx is a software layer that operates similarly to the Django ORM but functions on top of the Sphinx full-text search engine. However, it is important to note that users need to create their own Sphinx indexes as well as install Sphinx on their server to utilize this app. Furthermore, there are no longer release packages available, and users need to use SVN to checkout the latest trunk version, which should always be stable and current.

To install the latest stable version easily, users can execute the following command: "sudo easy_install djangosphinx". However, if they prefer the latest development version, they can run "svn checkout django-sphinx" followed by "cd django-sphinx" and "sudo python setup.py install". It is also worth noting that users must install the sphinxapi.py package into their Python Path or utilize one of the included versions. To use the provided version, users need to specify the appropriate Sphinx API version in their settings.py file.

Django-Sphinx enables users to perform various search queries effortlessly. For instance, users can use the following example to explore how to employ this app:

class MyModel(models.Model):
search = SphinxSearch() # optional: defaults to db_table
# If your index name does not match MyModel._meta.db_table
# Note: You can only generate automatic configurations from the ./manage.py script
# if your index name matches.
search = SphinxSearch('index_name')

# Or maybe we want to be more.. specific
searchdelta = SphinxSearch(
index='index_name delta_name',
weights={
'name': 100,
'description': 10,
'tags': 80,
}
)

queryset = MyModel.search.query('query')
results1 = queryset.order_by('@weight', '@id', 'my_attribute')
results2 = queryset.filter(my_attribute=5)
results3 = queryset.filter(my_other_attribute=[5, 3, 4])
results4 = queryset.exclude(my_attribute=5)[0:10]
results5 = queryset.count()

Furthermore, users can access multiple additional methods like count(), extra(), all(), select_related(), group_by(), and set_options(). Users should keep in mind that the django-sphinx layer also facilitates basic querying over multiple indexes. To execute this function, users need to comprehend the rules of a UNION. Moreover, their indexes must include the same fields that also include a content_type selection correlating with the content_type id associated with that table.

Once users comprehend the rules of a UNION, they can utilize features like SphinxSearch('index1 index2 index3').query('hello') to glimpse all matches ordered by weight from all the indexes. Finally, users should bear in mind that this process executes one SQL query per index with matches in it, as Django's ORM does not support SQL UNION.
What's New

Version 2.1.2: N/A

Free Download 25K
343
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

librandomtests.so
This C-based shared library offers randomized tests and features both source and ...
Ptk Phone
Ptk Phone is a Perl/Tk-based software for managing address books, including email ...
PHP SQLDiff
PHP SQLDiff is a web-based tool designed to display the discrepancies between ...
FusionSwitch
FusionSwitch simplifies switching between Compiz and Metacity by providing a screenlet similar ...
SnowballGame
Snowball is a thrilling jump-and-run game where players guide Tux the penguin ...
UMLSpeed
"UMLSpeed" is a compiler that enables the declaration of UML entities and ...
KIptablesGenerator
KIptablesGenerator is a user-friendly wizard software for KDE that simplifies the setup ...
Spack
Spack is a packager for Slackware Linux that helps with the installation ...
MOSIX
MOSIX excels in running compute-intensive software and applications that require only moderate ...
Screen Shot Uploader
Screen Shot Uploader is a useful tool that allows users to convert ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.