Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.content.expression
Interface IFullTextSearch

    public interface IFullTextSearch

This is an interface that currently does not have any method in its body. It is to be used for BEA repositories only . Users should use factory class `FullTextSearchFactory` to create an instance of `IFullTextSearch`, and then pass it to `Search` constrcutor to eventually create a `search` instance.

Here is a full example:

         IMetadataQuery mQuery = FullTextQueryFactory.getMetadataQuery();
         ITextQuery tQuery = FullTextQueryFactory.getTextQuery();
         String textString = "winter";
         ITextQueryParameter textCriteria = tQuery.buildEquals(textString);
         String metaDataString = "Nederland";
         IMetadataQueryParameter metadataCriteria = mQuery.buildContains("*", new String[]{metaDataString});
         IFullTextSearch expression = FullTextSearchFactory.buildFullTextSearch(metadataCriteria, textCriteria, true);
         String repositoryPath = "/MyRepository";
         Search search = new Search(repositoryPath, -1, null, expression, true);
         ISearchManager searchManager = ContentManagerFactory.getSearchManager();

         ContentContext cc = new ContentContext();
         cc.setParameter(ContentListKeys.BATCH_LOADING_SIZE_KEY, 100);
         ISortableFilterablePagedList results = searchManager.search(cc, search);

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved