skip redundant add. of keywords to text

search uses keywords as default search field
pull/2/head
reger 10 years ago
parent 296e97c78e
commit 5408448a56

@ -338,7 +338,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri
accText(sb, md.dc_publisher()); accText(sb, md.dc_publisher());
// accText(sb, md.snippet()); // above added to description_txt, default search field via getQueryFields(), description_txt incl. in snippet calculation // accText(sb, md.snippet()); // above added to description_txt, default search field via getQueryFields(), description_txt incl. in snippet calculation
accText(sb, md.url().toTokens()); accText(sb, md.url().toTokens());
accText(sb, keywords); // default search field via getQueryFields(), keywords not incl. in snippet calculation // accText(sb, keywords); // default search field via getQueryFields(), keywords not incl. in snippet calculation
add(doc, CollectionSchema.text_t, sb.toString()); add(doc, CollectionSchema.text_t, sb.toString());
} }

Loading…
Cancel
Save