130c65d9512af860b1a14c406620f3ac71296ddf
braney
  Sun May 26 12:52:25 2013 -0700
added TRIX search for track hubs.  UDC'ified trix library.  Refs #10426
diff --git src/inc/trix.h src/inc/trix.h
index ec60a91..190c242 100644
--- src/inc/trix.h
+++ src/inc/trix.h
@@ -1,27 +1,28 @@
 /* trix - text retrieval index.  Stuff for fast two level index
  * of text for fast word searches.  Generally you use the ixIxx program
  * to make the indexes. */
 
 struct trix
 /* A two level index */
     {
     struct lineFile *lf;	/* Open file on first level index. */
     struct trixIxx *ixx;	/* Second level index in memory. */
     int ixxSize;		/* Size of second level index. */
     int ixxAlloc;	        /* Space allocated for index. */
     struct hash *wordHitHash;	/* Hash of word hitsLists, so search on "the the the" works fast. */
+    boolean useUdc;a            /* are we using UDC or lineFile */
     };
 
 struct trixSearchResult
 /* Result of a trix search. */
     {
     struct trixSearchResult *next;
     char *itemId;               /* ID of matching item */
     int unorderedSpan;          /* Minimum span in single doc with words in any order. */
     int orderedSpan;            /* Minimum span in single doc with words in search order. */
     int wordPos;		/* Position of word in doc more or less. */
     int leftoverLetters;	/* Number of leftover letters in words. */
     };
 
 #define trixPrefixSize 5	/* Size of prefix in second level index. */