Hi, does anyone know how to translate the following query to the ORM?
select * from company where to_tsvector(name) @@ to_tsquery('gold:*')
So far I have the following, but cannot seem to integrate the [:*] piece.
Company.objects.annotate(search = SearchVector('name')).filter(search =
SearchQuer
I am trying to implement a full text search in django 1.11, in my model
product_name and foreign_name can have values in English and Spanish, in
pastebin <https://pastebin.com/RQS1AHtN> I have published my model with a
manually created index which works very well with the query, I woul
rm
a full-text search query and return a JSON stream.
My goal is to not duplicate data between redis and zodb...
What do you think?
Etienne
Le 2017-12-16 à 06:05, Egor Smolyakov a écrit :
Check out this library https://github.com/django-haystack/django-haystack
It supports a wide ran
Check out this library https://github.com/django-haystack/django-haystack
It supports a wide range of backends.
On 16/12/2017, Etienne Robillard wrote:
> Hi all,
>
> I would like some input on implementing a full-text search engine for my
> website and blog.
>
> I really
Hi all,
I would like some input on implementing a full-text search engine for my
website and blog.
I really don't want to use Google search API or a external webservice to
index my documents.
Also, my blog is powered by ZODB while my main website uses Durus.
Ideally, i would like t
ocs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>
> full
> text search only support MySQL.
>
> Are there plans on any progress towards getting this functionality on
> PostgreSQL?
>
> Thanks
>
> --
> You received thi
f/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>
> full
> text search only support MySQL.
>
> Are there plans on any progress towards getting this functionality on
> PostgreSQL?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups &qu
This looks promising. Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to djan
you could have a look at djorm-ext-pgfulltex.
bg,
Johannes
On 28.06.2014 18:15, Bastian Kuberek wrote:
Hi,
Just saw that django.contrib.admin.ModelAdmin.search_fields
<https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>
full
text
On Saturday, June 28, 2014 7:15:05 PM UTC+3, Bastian Kuberek wrote:
>
> Hi,
>
> Just saw that django.contrib.admin.ModelAdmin.search_fields
> <https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>
> full
> text search
Hi,
Just saw that django.contrib.admin.ModelAdmin.search_fields
<https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields>
full
text search only support MySQL.
Are there plans on any progress towards getting this functionality on
Post
On Mon, Mar 10, 2014 at 7:22 PM, Matthieu Rigal
wrote:
> Is it somehow planned that Django Users can dialog with him to express
> some desires ?
>
> For example, I would be very happy to see a reimplementation of the
> annotate and aggregate functions, as they make the queries so slow by
> groupin
Is it somehow planned that Django Users can dialog with him to express some
desires ?
For example, I would be very happy to see a reimplementation of the
annotate and aggregate functions, as they make the queries so slow by
grouping by all the fields that I always have to use raw SQL to group o
On Sun, Feb 23, 2014 at 10:45 PM, Federico Capoano wrote:
> I found this on django's blog:
>
>
> https://www.kickstarter.com/projects/mjtamlyn/improved-postgresql-support-in-django
>
> Very interesting!
>
> Anybody knows if they intend to redevelop everything from scratch or reuse
> and improve e
I found this on django's blog:
https://www.kickstarter.com/projects/mjtamlyn/improved-postgresql-support-in-django
Very interesting!
Anybody knows if they intend to redevelop everything from scratch or reuse
and improve existing implementations?
Federico
--
You received this message because
On 18 Jul 18:28, Dmitry Gladkov wrote:
> I like the idea, but I don't like the approach, it should be a
> subclass of PositiveIntegerField, as it is an unsigned int on DB
> level. Also, I agree with Łukasz that it should support both IPv6 and
> IPv4.
IPAddressField appears to be v4 only for backwa
I like the idea, but I don't like the approach, it should be a
subclass of PositiveIntegerField, as it is an unsigned int on DB
level. Also, I agree with Łukasz that it should support both IPv6 and
IPv4.
--
Best wishes,
Dmitry Gladkov, mailto:dmitry.glad...@gmail.com
+380 91 303-37-46
On Mon,
On Mon, Jul 18, 2011 at 10:13 AM, Javier Guerra Giraldez
wrote:
> On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd]
> wrote:
>> It stores the IP address in integer form, meaning the lookups on large
>> tables are much faster:
>
> are they? hashtables shouldn't be too sensitiv
Or maybe you were talking about hash tables in MySQL.
Either way, you're right that this would probably need some benchmarks
before being approved for the core.
@django-developers, if I was to provide some benchmarks, would this possibly
be considered for the core?
Cal
On Mon, Jul 18, 2011 at 4
Sorry, I should have been a little more specific.
I meant faster lookups in terms of database index, such as MySQL with
InnoDB.
Cal
On Mon, Jul 18, 2011 at 4:13 PM, Javier Guerra Giraldez
wrote:
> On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd]
> wrote:
> > It stores the IP
On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd]
wrote:
> It stores the IP address in integer form, meaning the lookups on large
> tables are much faster:
are they?hashtables shouldn't be too sensitive to key size, as
long as the string size stays bounded... like on IP addr
Hi,
I have created a ModelField called RealIPAddressField.
It stores the IP address in integer form, meaning the lookups on large
tables are much faster:
http://djangosnippets.org/snippets/2493/
@django-developers - Do you think there is any possibility of this getting
included into the core?
http://haystacksearch.org/
2010/12/17 marcoarreguin
> Hi!!
>
> I need to implement a search engine with full text search, I'm using
> postgreSQL and Django, I have searched in google (
> http://barryp.org/blog/entries/postgresql-full-text-search-django/ )
> but isn
Hi!!
I need to implement a search engine with full text search, I'm using
postgreSQL and Django, I have searched in google (
http://barryp.org/blog/entries/postgresql-full-text-search-django/ )
but isn't there a more simple way ??
Or just another way?
--
You received this message b
maybe i misunderstood your question, but maybe it will help
On Fri, Oct 1, 2010 at 8:19 PM, m1chael wrote:
> Hello!
>
> I use PostgreSQL, and this is how I accomplished a full text search:
>
> def search(request):
> # how to set up postgresql for full text searching
> #al
Hello!
I use PostgreSQL, and this is how I accomplished a full text search:
def search(request):
# how to set up postgresql for full text searching
#alter table quote_quote add column body_tsv tsvector;
#CREATE TRIGGER quote_quote_tsvectorupdate BEFORE INSERT OR UPDATE
ON quote_quote FOR
Check this out:
http://www.julienphalip.com/blog/2008/08/16/adding-search-django-site-snap/
On Oct 1, 6:52 am, Alessandro Ronchi
wrote:
> On Fri, Oct 1, 2010 at 3:35 AM, Steve Holden wrote:
> > On 9/30/2010 8:26 PM, Nick Arnett wrote:
> > > Brain is mush, though.
>
> Thank you. I'm waiting with
I'm waiting with hope :)
>
Brain less mushy now... Sometimes just knowing something is possible helps,
which was why I posted last night.
I used this idea:
http://www.mercurytide.co.uk/news/article/django-full-text-search/
and added a parameter to turn boolean on and off.
However, I'
On Fri, Oct 1, 2010 at 3:35 AM, Steve Holden wrote:
> On 9/30/2010 8:26 PM, Nick Arnett wrote:
> > Brain is mush, though.
>
>
Thank you. I'm waiting with hope :)
--
Alessandro Ronchi
http://www.soasi.com
--
You received this message because you are subscribed to the Google Groups
"Django u
On 9/30/2010 8:26 PM, Nick Arnett wrote:
> Brain is mush, though.
Obviously, otherwise you'd have left it in the hope that someone else
would reply with an answer before you recovered consciousness. Great
heavens, this community is *so* anxious to help. Kudos for trying with a
frazzled brain!
reg
On Thu, Sep 30, 2010 at 8:34 AM, Alessandro Ronchi <
alessandro.ron...@soasi.com> wrote:
> Is there any way to make a FULL TEXT search not in BOOLEAN MODE?
> I've found only
> http://docs.djangoproject.com/en/1.1/ref/models/querysets/#search
>
> It says it uses BOOL
Is there any way to make a FULL TEXT search not in BOOLEAN MODE?
I've found only
http://docs.djangoproject.com/en/1.1/ref/models/querysets/#search
It says it uses BOOLEAN MODE as a default, but doesn't tell how to
avoid default...
--
Alessandro Ronchi
http://www.soasi.com
Hobby &am
Any thoughts on using PostgreSQL built-in full text search ?
On Jul 29, 5:49 pm, "dlvosse...@gmail.com"
wrote:
> I've recently adopted the use of xapian for full text search, via the
> djapian django app which works like a charm. Xapian is written in C++
> with pytho
I've recently adopted the use of xapian for full text search, via the
djapian django app which works like a charm. Xapian is written in C++
with python bindings, and with the djapian app u can stay within the
django realm; e.g. updating the index can be done with manage.py
index..
When
Thanks for your replies, it is useful.
Has anyone used whoosh in production so far? Any ideas about it's
performance?
Alex.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
hich is
>> a nice wrapper around Lucene).
>
> I program a bibliography manager with Django. Users are able to
> upload the papers as PDFs, and I'd like to add full-text search. So
> far, I planned to user Solr Cell for it, but can one also do that
> with Sphinx?
Sphinx doesn
ers are able to
upload the papers as PDFs, and I'd like to add full-text search. So
far, I planned to user Solr Cell for it, but can one also do that
with Sphinx?
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: torsten.bron...@j
On Mon, Jul 27, 2009 at 11:14 PM, alex finn wrote:
>
> Hello,
>
> I'm working on a huge django-based application that heavily utilizes
> full-text search. Up until now I've been using external search service
> built using SOLR that is deployed separately.
> The pro
Hello,
I'm working on a huge django-based application that heavily utilizes
full-text search. Up until now I've been using external search service
built using SOLR that is deployed separately.
The problem is with such an approach I need to maintain 2 different
environments - one
>
> > Someone has used a similar solution for versions after 1.0?
> >
> > [1]http://www.mercurytide.co.uk/news/article/django-full-text-search/
>
> Toodle-lo...
> creecode
> >
>
Well for one thing that is mysql only, which is hangup for a lot of
necessary to use any external code (or
> as xapian sphinx). Unfortunately this solution only works in older
> versions of django. I tried to fix backend.quote_name, but failed.
>
> Someone has used a similar solution for versions after 1.0?
>
> [1]http://www.mercurytide.co.uk/ne
sed a similar solution for versions after 1.0?
[1]http://www.mercurytide.co.uk/news/article/django-full-text-search/
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
It can be done using extra as shown here:
http://barryp.org/blog/entries/postgresql-full-text-search-django/
there isn't a way built into django
to do it however, there are also a few external search projects to
create a nicer search api in django. This one:
http://code.google.
Hi --
I'm wanting to improve searches by using full-text searching. The
documentation says:
>
>
> search¶
> <http://docs.djangoproject.com/en/dev/ref/models/querysets/#search>
>
> A boolean full-text search, taking advantage of full-text indexing.
&
alain D. schrieb:
> Being inside database transactions is a good reason to use database's
> full text index ... but the sake of simplicity, a full text index
> created by python code inside the models declaration (easily
> maintainable) would be nice ...
>
>
>
This is inside the model declarati
Being inside database transactions is a good reason to use database's
full text index ... but the sake of simplicity, a full text index
created by python code inside the models declaration (easily
maintainable) would be nice ...
> Since all external full text indexing (sphinx, lucene) won't be pa
alain D. schrieb:
> Hi,
>
> I'm looking at all the available solutions to implement a full text
> index for django models and I found various projects at different
> stages of maturity but none of them seems to have a strong community
> support ... so here is the list along with my comments (and l
Hi,
I'm looking at all the available solutions to implement a full text
index for django models and I found various projects at different
stages of maturity but none of them seems to have a strong community
support ... so here is the list along with my comments (and last
commit time) ... it any o
I know some of you out there use my full-text layer relying on Sphinx
in Django. I released a new version yesterday, which on my initial
tests is fully backwards compatible.
So the point, what I'm looking for, is has anyone put the new version
to use yet? If not, can you try it on your working co
Hello friends,
I recently happened to see the below information ... just thought that it
could be useful to you people ...
Thanks.
--
*Introducing for the first time in **India**, a Product that
Just yesterday, I was thinking how useful it would be to be able to
use mediawiki markup syntax for a new project... and voila -- my
prayers are answered! Thank you for putting this together!
One problem... I'm getting a syntax error on import (using python
2.5):
>>> import wikimarkup
Traceback
I've taken the time to upload both our SphinxSearch layer, and our
MediaWiki markup util to Google code today. For more info see my blog
post: http://www.davidcramer.net/code/54/mediawiki-markup-and-sphinxsearch-...
I haven't used Google code before, so if theres any problems just let
me know.
E
I've written a small tutorial about using Lupy - a full text python
search engine and Django:
Link: http://www.rkblog.rk.edu.pl/w/p/django-lupy/
I'll more code when I'll add Lupy search support to Diamanda :) Django
full-text branch isn't finished and won't be in the near and not near
future from
i seems django dont support select_related when using full-text search
filter.
a.objects.filter(field1__search=q), it can return results successfully,
but when i wrote: a.objects.select_related.filter(field1__search=q),it
returns nothing.
why that happen
it seems like django dont support select_related when using full-text
search?
a.objects.filter(field1__search=str) can show the results successful
but:
a.objects.select_related().filter(field1__search=str) show nothing
why that happen
Op vr, 04-08-2006 te 16:55 +1000, schreef Ian Holsman:
> To quote the paper: This “Give-It-Away” license provides no protection
> for anyone if the donated software causes harm.
>
> ie.. even if you didn't mean it, if I used a piece of public domain
> code in a app I write and it fails, i can s
On 03/08/2006, at 10:42 PM, Andrew Durdin wrote: the code in the paper is released intothe public domain, so there's nothing stopping any interested personfrom taking it and developing it into something more suited for generalsearching.AndrewThis isn't directed at you, or your paper Andrew.I kno
Adam Endicott wrote:
>
> Do any of the core devs see this as a candidate for inclusion in
> contrib?
Speaking as the author of the piece -- I don't. This code isn't
developed enough to be particularly practical as-is: to be more useful
it should probably support both natural language and boolean
Nice work John, good stuff.
Do any of the core devs see this as a candidate for inclusion in
contrib?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
On 8/2/06, John Sutherland <[EMAIL PROTECTED]> wrote:
> I just wanted to let you know about a white-paper written by one of
> the guys in my office.
>
> "Extending Django's database API to include full-text search"
> <http://www.mercurytide.com/knowledge/whi
Hi all,
I just wanted to let you know about a white-paper written by one of
the guys in my office.
"Extending Django's database API to include full-text search"
<http://www.mercurytide.com/knowledge/white-papers/django-full-text-search>
We spent a little bit of time coming
61 matches
Mail list logo