From: john Date: Mon, 13 Jan 2003 23:07:12 +0000 (+0000) Subject: i have no idea where the bug i just found came from. X-Git-Tag: BEFORE_MERGE_1_1~319 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=73444e9f9c5c1b4061537826dc300ec8f74073ae;p=mir.git i have no idea where the bug i just found came from. perhaps it is time to sleep. --- diff --git a/source/mircoders/producer/IndexingProducerNode.java b/source/mircoders/producer/IndexingProducerNode.java index 8cd82b88..739bfbbf 100755 --- a/source/mircoders/producer/IndexingProducerNode.java +++ b/source/mircoders/producer/IndexingProducerNode.java @@ -110,10 +110,10 @@ public class IndexingProducerNode implements ProducerNode { //this initialization should go somewhere global like an xml file.... - (new KeywordSearchTerm("id","","id","","id")).index(theDoc,entity); - (new KeywordSearchTerm("date_formatted","search_date","webdb_create_formatted","webdb_create_formatted","webdb_create_formatted")).index(theDoc,entity); - + + (new KeywordSearchTerm("webdb_create_formatted","search_date","webdb_create_formatted","webdb_create_formatted","webdb_create_formatted")).index(theDoc,entity); + (new UnIndexedSearchTerm("","","","where","where")).indexValue(theDoc,entity.getValue("publish_path")+entity.getValue("id")+".shtml"); (new TextSearchTerm("creator","search_creator","creator","creator","creator")).index(theDoc,entity);