Project

General

Profile

« Previous | Next » 

Revision 2376

Added by sgarg over 19 years ago

Modifying code so that nodedata is stored in xml_index table next to the paths.
This helps in making the search faster.

View differences:

DBQuery.java
719 719
               fielddata = MetaCatUtil.normalize(fielddata);
720 720
               String parentId = rs.getString(4);
721 721
               StringBuffer value = new StringBuffer();
722
               if (!containsKey(parentidList, parentId))
722

  
723
	       // if xml_index is used, there would be just one record per nodeid
724
	       // as xml_index just keeps one entry for each path
725
               if (useXMLIndex || !containsKey(parentidList, parentId))
723 726
               {
724 727
                  // don't need to merger nodedata
725 728
                  value.append("<param name=\"");

Also available in: Unified diff