All Projects → sophilabs → django-solr

sophilabs / django-solr

Licence: BSD-3-Clause license
Solr Search Engine ORM for Django

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to django-solr

npm-mirror
DEPRECATED - A utility for mirroring a subset of npm packages from another npm registry
Stars: ✭ 38 (+58.33%)
Mutual labels:  unmaintained
solr wrapper
Wrap your tests with Solr 5+
Stars: ✭ 22 (-8.33%)
Mutual labels:  solr
mips
Exercism exercises in MIPS Assembly.
Stars: ✭ 19 (-20.83%)
Mutual labels:  unmaintained
SitecoreInstallExtensions
Sitecore Install Extensions
Stars: ✭ 29 (+20.83%)
Mutual labels:  solr
happyforms
INACTIVE - http://mzl.la/ghe-archive - Extension to Django Forms that strips spaces
Stars: ✭ 14 (-41.67%)
Mutual labels:  unmaintained
solr-vector-scoring
Vector Plugin for Solr: calculate dot product / cosine similarity on documents
Stars: ✭ 28 (+16.67%)
Mutual labels:  solr
jease
Jease is a Java CMS framework based on Object Database
Stars: ✭ 25 (+4.17%)
Mutual labels:  solr
f1
INACTIVE - http://mzl.la/ghe-archive - F1 is a browser extension that allows you to share links in a fast and fun way. Share links from within the browser, from any webpage, using the same services you already know and love. F1 is made by Mozilla.
Stars: ✭ 51 (+112.5%)
Mutual labels:  unmaintained
firefoxos-loop-client
DEPRECATED - Firefox OS client for the Loop service
Stars: ✭ 27 (+12.5%)
Mutual labels:  unmaintained
murmur
DEPRECATED - A webapp for collecting speech samples for voice recognition testing and training
Stars: ✭ 20 (-16.67%)
Mutual labels:  unmaintained
wp-sw-manager
INACTIVE - http://mzl.la/ghe-archive - Service Worker infrastructure for WordPress plugins.
Stars: ✭ 44 (+83.33%)
Mutual labels:  unmaintained
solr-cool.github.io
The Solr Package Directory and Sanctuary
Stars: ✭ 13 (-45.83%)
Mutual labels:  solr
fxtest-jenkins-pipeline
DEPRECATED
Stars: ✭ 39 (+62.5%)
Mutual labels:  unmaintained
argo
The administrative discovery interface for Stanford's Digital Object Registry
Stars: ✭ 19 (-20.83%)
Mutual labels:  solr
receiptverifier
INACTIVE - http://mzl.la/ghe-archive - A helper Javascript library for doing useful things with Open Web Apps.
Stars: ✭ 13 (-45.83%)
Mutual labels:  unmaintained
discord
GitHub webhook that analyzes pull requests and adds comments about incompatible CSS
Stars: ✭ 29 (+20.83%)
Mutual labels:  unmaintained
addon-sdk
DEPRECATED - The Add-on SDK repository.
Stars: ✭ 643 (+2579.17%)
Mutual labels:  unmaintained
GeoParser
Extract and Visualize location from any file
Stars: ✭ 48 (+100%)
Mutual labels:  solr
x
Commerce Search & Discovery frontend web components
Stars: ✭ 54 (+125%)
Mutual labels:  solr
solr-container
Ansible Container project that manages the lifecycle of Apache Solr on Docker.
Stars: ✭ 17 (-29.17%)
Mutual labels:  solr

Solr Search Engine ORM for Django

No Maintenance Intended

Usage

Define

from djangosolr import documents

class Movie(documents.Document):
   id = documents.IntegerField(primary_key=True)
   title = documents.CharField()
   director = documents.CharField()
   text = TextField()

Define from an existing django model

from djangosolr import documents
from myapp import models

class Movie(documents.Document):
    class Meta:
        model = models.Movie

Save some movies

Movie(id="1", title='Jurassic Park I', director='Steven Spielberg').save()
Movie(id="2", title='Jurassic Park III', director='Steven Spielberg').save()

Save many movies at once

from djangosolr import solr

solr.save([m1, m2])

Get and update

m = Movie.documents.get(2)
m.director = 'Joe Johnston'
m.save()

Get all movies

ms = Movie.documents.all()

Get the first 10 Steven Spielberg's movies

ms = Movie.documents.q(director__exact='Steven Spielberg').sort('title')[:10]

Get Spielberg's or Johnston's movies

ms = Movie.documents.q(Q(text='spielberg') | Q(text='johnston'))

Delete a movie

m = Movie.documents.get(1)
m.delete()

Delete all movies

Movie.documents.clear()

Getting It

You can get Django Solr by using pip or easy_install

$ pip install django-solr

or $ easy_install django-solr

Comming Soon

  • Facet
  • More Like This
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].