daevaorn / djapian

High level Xapian integration for Django
Other
6 stars 3 forks source link

djapian change table is updated when a model's non-indexed field is updated #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
One of my models contain a field "views" that gets updated every time a
user accesses a row in the model.

This field is not indexed by djapian although other columns in this model
are indexed. Now every time a row in this model gets accessed, the no of
views get incremented which in turn causes djapian to add a update row in
its "change table".

This causes tremendous overhead to my application as it is not necessary to
update the index when a models non-indexed field value changes.

Original issue reported on code.google.com by saraf.saurabh on 16 Sep 2009 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by daevaorn on 16 Sep 2009 at 12:25

GoogleCodeExporter commented 9 years ago

Original comment by daevaorn on 19 Sep 2009 at 9:18