com.atlassian.confluence.search.lucene
Class LabelExtractor

java.lang.Object
  extended by com.atlassian.confluence.search.lucene.LabelExtractor
All Implemented Interfaces:
com.atlassian.bonnie.search.Extractor

public class LabelExtractor
extends Object
implements com.atlassian.bonnie.search.Extractor

Extract label data from content entity objects.


Field Summary
static String LABEL_FIELD
          Assigned multiple fields of namespaced labels
static String LABEL_TEXT_FIELD
          This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content
 
Constructor Summary
LabelExtractor()
           
 
Method Summary
 void addFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL_FIELD

public static final String LABEL_FIELD
Assigned multiple fields of namespaced labels

See Also:
Constant Field Values

LABEL_TEXT_FIELD

public static final String LABEL_TEXT_FIELD
This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content

See Also:
Constant Field Values
Constructor Detail

LabelExtractor

public LabelExtractor()
Method Detail

addFields

public void addFields(org.apache.lucene.document.Document document,
                      StringBuffer defaultSearchableText,
                      com.atlassian.bonnie.Searchable searchable)
Specified by:
addFields in interface com.atlassian.bonnie.search.Extractor


Copyright © 2003-2011 Atlassian. All Rights Reserved.