public void setCollection ( String collection ) throws PageException { try { this . collection = pageContext . getConfig ( ) . getSearchEngine ( pageContext ) . getCollectionByName ( collection . toLowerCase ( ) . trim ( ) ) ; } catch ( SearchException e ) { throw Caster . toPageException ( e ) ; } }
set the value collection Specifies a collection name . If you are indexing an external collection external = Yes specify the collection name including fully qualified path .