You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2013/10/29 11:55:29 UTC
svn commit: r1536651 -
/ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java
Author: jacopoc
Date: Tue Oct 29 10:55:29 2013
New Revision: 1536651
URL: http://svn.apache.org/r1536651
Log:
Removed unused and redundant field from the Lucene Product document.
Modified:
ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java
Modified: ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java?rev=1536651&r1=1536650&r2=1536651&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java (original)
+++ ofbiz/trunk/specialpurpose/lucene/src/org/ofbiz/content/search/ProductDocument.java Tue Oct 29 10:55:29 2013
@@ -153,7 +153,6 @@ public class ProductDocument implements
String goodIdentificationTypeId = goodIdentification.getString("goodIdentificationTypeId");
String idValue = goodIdentification.getString("idValue");
doc.add(new StringField("goodIdentificationTypeId", goodIdentificationTypeId, Field.Store.NO));
- doc.add(new StringField("goodIdentificationIdValue", idValue, Field.Store.NO));
doc.add(new StringField(goodIdentificationTypeId + "_GoodIdentification", idValue, Field.Store.NO));
this.addTextFieldByWeight(doc, "identificationValue", idValue, "index.weight.GoodIdentification.idValue", 0, false, "fullText");
}