From: john Date: Fri, 29 Nov 2002 13:53:26 +0000 (+0000) Subject: added a date field which is sortable lexographically so that searches can be meaningf... X-Git-Tag: BEFORE_MERGE_1_1~432 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=bde5e45811986afd4774254914cfea16e504ab5f;p=mir.git added a date field which is sortable lexographically so that searches can be meaningfully ordered --- diff --git a/source/mircoders/producer/IndexingProducerNode.java b/source/mircoders/producer/IndexingProducerNode.java index 2d1a0639..5ac7e206 100755 --- a/source/mircoders/producer/IndexingProducerNode.java +++ b/source/mircoders/producer/IndexingProducerNode.java @@ -113,6 +113,7 @@ public class IndexingProducerNode implements ProducerNode { (new TextSearchTerm("creator","search_creator","creator","creator","creator")).index(theDoc,entity); (new TextSearchTerm("title","search_title","title","title","title")).index(theDoc,entity); (new UnIndexedSearchTerm("description","search_content","description","description","description")).index(theDoc,entity); + (new UnIndexedSearchTerm("webdb_create","search_irrelevant","creationDate","creationDate","creationDate")).index(theDoc,entity); (new ContentSearchTerm("content_data","search_content","content","","")).indexValue(theDoc, entity.getValue("content_data")+ " "