|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.apps.groupspace.search.utils.FullTextSearchBuilder
public class FullTextSearchBuilder
This class will construct search objects that will search both the binary field and metadata for the named text. It is to be used by the CmFullTextSearchControl and the GsFullTextSearchControl, NOT by the EnterpriseSearchControl.
Use of this class assumes the Autonomy Search Engine is running.
Field Summary | |
---|---|
protected boolean |
isCmBinaryDataEncoded
|
protected boolean |
isCmMetadataEncoded
|
Constructor Summary | |
---|---|
FullTextSearchBuilder()
|
Method Summary | |
---|---|
com.bea.content.expression.FullTextSearch[] |
allTheseWords(Set<IMetadataQueryParameter> metaParams,
String[] allWords)
|
com.bea.content.expression.FullTextSearch[] |
allTheseWordsNotThese(Set<IMetadataQueryParameter> metaParams,
String[] allWords,
String[] notWords)
|
com.bea.content.expression.FullTextSearch[] |
anyOfTheseWords(Set<IMetadataQueryParameter> metaParams,
String[] anyWords)
Construct a FullTextSearch object that will search content for "any of these words". |
com.bea.content.expression.FullTextSearch[] |
anyOfTheseWordsNotThese(Set<IMetadataQueryParameter> metaParams,
String[] anyWords,
String[] notWords)
Construct a FullTextSearch object that will search content for "any of these words" but not these. |
protected String |
decodeMetaIfNeeded(String metaWord)
|
protected String[] |
decodeMetaIfNeeded(String[] metaWords)
|
protected String |
decodeTextIfNeeded(String textWord)
|
protected String[] |
decodeTextIfNeeded(String[] textWords)
|
boolean |
isCmBinaryDataEncoded()
|
boolean |
isCmMetadataEncoded()
|
com.bea.content.expression.FullTextSearch[] |
noneOfTheseWords(Set<IMetadataQueryParameter> metaParams,
String[] words)
Construct a FullTextSearch object that will search for "none of these words". |
void |
setCmBinaryDataEncoded(boolean cmBinaryDataEncoded)
|
void |
setCmMetadataEncoded(boolean cmMetadataEncoded)
|
com.bea.content.expression.FullTextSearch[] |
thisExactPhrase(Set<IMetadataQueryParameter> metaParams,
String exactPhrase)
Construct a FullTextSearch object that will search content for "this exact phrase". |
com.bea.content.expression.FullTextSearch[] |
thisExactPhraseNotThese(Set<IMetadataQueryParameter> metaParams,
String exactPhrase,
String[] notWords)
Build FTS for searching text and metadata for all these words and none of these |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isCmBinaryDataEncoded
protected boolean isCmMetadataEncoded
Constructor Detail |
---|
public FullTextSearchBuilder()
Method Detail |
---|
public boolean isCmBinaryDataEncoded()
public void setCmBinaryDataEncoded(boolean cmBinaryDataEncoded)
public boolean isCmMetadataEncoded()
public void setCmMetadataEncoded(boolean cmMetadataEncoded)
public com.bea.content.expression.FullTextSearch[] noneOfTheseWords(Set<IMetadataQueryParameter> metaParams, String[] words) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] allTheseWords(Set<IMetadataQueryParameter> metaParams, String[] allWords) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] allTheseWordsNotThese(Set<IMetadataQueryParameter> metaParams, String[] allWords, String[] notWords) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] anyOfTheseWords(Set<IMetadataQueryParameter> metaParams, String[] anyWords) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] anyOfTheseWordsNotThese(Set<IMetadataQueryParameter> metaParams, String[] anyWords, String[] notWords) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] thisExactPhrase(Set<IMetadataQueryParameter> metaParams, String exactPhrase) throws Exception
Exception
public com.bea.content.expression.FullTextSearch[] thisExactPhraseNotThese(Set<IMetadataQueryParameter> metaParams, String exactPhrase, String[] notWords) throws Exception
Exception
protected String decodeTextIfNeeded(String textWord)
protected String decodeMetaIfNeeded(String metaWord)
protected String[] decodeTextIfNeeded(String[] textWords)
protected String[] decodeMetaIfNeeded(String[] metaWords)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |