diff rhodecode/lib/indexers/__init__.py @ 2388:a0ef98f2520b beta

#453 added ID field in whoosh SCHEMA that solves the issue of reindexing modified files
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 05 Jun 2012 00:27:59 +0200
parents 1828eb7fa688
children 324b838250c9
line wrap: on
line diff
--- a/rhodecode/lib/indexers/__init__.py	Mon Jun 04 22:03:40 2012 +0200
+++ b/rhodecode/lib/indexers/__init__.py	Tue Jun 05 00:27:59 2012 +0200
@@ -57,6 +57,7 @@
 
 #INDEX SCHEMA DEFINITION
 SCHEMA = Schema(
+    fileid=ID(unique=True),
     owner=TEXT(),
     repository=TEXT(stored=True),
     path=TEXT(stored=True),