django-sphinxql | Sphinx search in Django | SQL Database library

 by   jorgecarleitao Python Version: 1.1.0 License: Non-SPDX

kandi X-RAY | django-sphinxql Summary

kandi X-RAY | django-sphinxql Summary

django-sphinxql is a Python library typically used in Database, SQL Database applications. django-sphinxql has no bugs, it has no vulnerabilities, it has build file available and it has low support. However django-sphinxql has a Non-SPDX License. You can install using 'pip install django-sphinxql' or download it from GitHub, PyPI.

Django-SphinxQL implements Sphinx search for Django, thanks for checking it out. Django is a Web framework for building websites with relational databases; Sphinx is a search engine designed for relational databases. Django-SphinxQL defines an ORM for using Sphinx in Django. As corollary, it allows you to implement full text search with Sphinx in your Django website.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              django-sphinxql has a low active ecosystem.
              It has 40 star(s) with 13 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 9 have been closed. On average issues are closed in 40 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of django-sphinxql is 1.1.0

            kandi-Quality Quality

              django-sphinxql has 0 bugs and 0 code smells.

            kandi-Security Security

              django-sphinxql has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              django-sphinxql code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              django-sphinxql has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              django-sphinxql releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              django-sphinxql saves you 1139 person hours of effort in developing the same functionality from scratch.
              It has 2574 lines of code, 314 functions and 50 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed django-sphinxql and discovered the below as its top functions. This is intended to give you an instant insight into django-sphinxql implemented functionality, and help decide if they suit your requirements.
            • Outputs the Sphinx configuration
            • Return the formatted representation of this node
            • Format the parent
            • Format the params as a string
            • Create a new search query using the given conditions
            • Convert other type to SQL expression
            • Filter the query
            • Parse a lookup clause
            • Configure the Sphinx index
            • Returns an indexer configuration
            • Configure the searchd configuration
            • Build an index configuration
            • Set the order_by
            • Resolve the column based on the field value
            • Clone the query set
            • Searches the queryset
            • Sets an order_by
            • Reindex the Sphinx indexer
            • Call a subprocess
            • Return the number of results
            • Return a clone of the search query
            • Searches the query
            • Show indextool statistics
            • Return the SQL representation of the function
            Get all kandi verified functions for this library.

            django-sphinxql Key Features

            No Key Features are available at this moment for django-sphinxql.

            django-sphinxql Examples and Code Snippets

            Index your models
            Pythondot img1Lines of Code : 15dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            from sphinxql import indexes, fields
            from myapp import models
            
            class DocumentIndex(indexes.Index):
                my_summary = fields.Text(model_attr='summary')
                my_text = fields.Text(model_attr='text')
                my_number = fields.Integer(model_attr='number')
            
                
            Installation
            Pythondot img2Lines of Code : 8dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            export VERSION=2.2.10
            wget http://sphinxsearch.com/files/sphinx-$VERSION-release.tar.gz
            tar -xf sphinx-$VERSION-release.tar.gz
            cd sphinx-$VERSION-release
            ./configure --prefix=$HOME --with-pgsql
            make
            make install
            
            pip install git+https://github.com/jo  
            default
            Pythondot img3Lines of Code : 1dot img3License : Non-SPDX (NOASSERTION)
            copy iconCopy
            PYTHONPATH=..:$PYTHONPATH django-admin.py test --settings=tests.settings_test tests
              

            Community Discussions

            QUESTION

            How to use two models for single index search in sphinx-django
            Asked 2018-Mar-05 at 11:47

            I'm using django-sphinxql for search requirements in my django project. I want to use two models in my app for search with some query. Models look as below

            ...

            ANSWER

            Answered 2018-Mar-05 at 11:47

            For foreign key fields in Sphinx we can use double underscores(__) to point to specific field for indexing. User model_attr for this

            In above example

            class Model1Index(indexes.Index): name = fields.Text(model_attr='name') caption = fields.Text(model_attr='model2__caption') class Meta: model = Model1 settings.INDEXES['source_params'] = {'sql_field_string': ['name'],}

            can be defined.

            Reference http://django-sphinxql.readthedocs.io/en/latest/indexes.html

            Source https://stackoverflow.com/questions/48946955

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install django-sphinxql

            Django-SphinxQL has no requirements besides Django and Sphinx. To install Sphinx, use:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install django-sphinxql

          • CLONE
          • HTTPS

            https://github.com/jorgecarleitao/django-sphinxql.git

          • CLI

            gh repo clone jorgecarleitao/django-sphinxql

          • sshUrl

            git@github.com:jorgecarleitao/django-sphinxql.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link