Author: knguyen
Date: Thu Jun 7 15:04:22 2007
New Revision: 17505
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D17505&repname=
=3Djahia
Log:
REF-4: fix string case sensitive at indexation.
Modified:
branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/search/lu=
cene/AbstractLuceneSearchIndexer.java
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/sea=
rch/lucene/AbstractLuceneSearchIndexer.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/java/org/jahia/services/search/lucene/AbstractLuceneSearch=
Indexer.java&rev=3D17505&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/search/lu=
cene/AbstractLuceneSearchIndexer.java (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/search/lu=
cene/AbstractLuceneSearchIndexer.java Thu Jun 7 15:04:22 2007
@@ -593,9 +593,10 @@
// FIXME : should we call val.getValueAsString(Locale)
// @todo : number padding, we should be done somewhere=
else and customizable
strVal =3D NumberPadding.pad(strVal);
+ /*
if ( strVal !=3D null ){
strVal =3D strVal.toLowerCase();
- }
+ }*/
if (docField.isKeyword() ) {
doc.add (new Field(name.toLowerCase(), strVal, Fie=
ld.Store.YES, Field.Index.UN_TOKENIZED));
} else if ( docField.isText() ) {
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list