Uses of Class
org.compass.core.CompassException

Packages that use CompassException
org.apache.lucene.index   
org.compass.core   
org.compass.core.accessor   
org.compass.core.cache.first   
org.compass.core.config   
org.compass.core.converter   
org.compass.core.converter.basic   
org.compass.core.converter.mapping.xsem   
org.compass.core.converter.xsem   
org.compass.core.engine   
org.compass.core.engine.subindex   
org.compass.core.impl   
org.compass.core.lucene.engine.analyzer.synonym   
org.compass.core.lucene.engine.optimizer   
org.compass.core.lucene.engine.queryparser   
org.compass.core.lucene.engine.store   
org.compass.core.lucene.engine.store.jdbc   
org.compass.core.lucene.engine.store.wrapper   
org.compass.core.mapping   
org.compass.core.mapping.osem   
org.compass.core.marshall   
org.compass.core.spi   
org.compass.core.support.search   
org.compass.core.transaction   
org.compass.core.xml.javax.converter   
org.compass.gps   
org.compass.gps.device.hibernate   
org.compass.gps.device.ibatis   
org.compass.gps.device.jdbc   
org.compass.gps.device.jdo   
org.compass.gps.device.jpa   
org.compass.gps.device.ojb   
org.compass.gps.device.support.parallel   
org.compass.gps.impl   
org.compass.gps.spi   
org.compass.spring   
org.compass.spring.aop   
org.compass.spring.transaction   
 

Uses of CompassException in org.apache.lucene.index
 

Methods in org.apache.lucene.index that throw CompassException
 void RAMTransLog.configure(CompassSettings settings)
           
 void FSTransLog.configure(CompassSettings settings)
           
 

Uses of CompassException in org.compass.core
 

Methods in org.compass.core that throw CompassException
 CompassToken[] CompassAnalyzerHelper.analyze(Reader textReader)
          Analyzes the given text, returning a set of tokens.
 CompassToken[] CompassAnalyzerHelper.analyze(String text)
          Analyzes the given text, returning a set of tokens.
 CompassToken[] CompassAnalyzerHelper.analyze(String propertyName, Reader textReader)
          Analyzes the given text, using (if needed) the anlayzer that is bound to the supplied property.
 CompassToken[] CompassAnalyzerHelper.analyze(String propertyName, String text)
          Analyzes the given text, using (if needed) the anlayzer that is bound to the supplied property.
 CompassAnalyzerHelper CompassSession.analyzerHelper()
          Returns an Analyzer helper.
 CompassToken CompassAnalyzerHelper.analyzeSingle(String text)
          Analyzes the given text, returning the first token.
 CompassTransaction CompassSession.beginTransaction()
          Begin a unit of work and return the associated CompassTranscation object.
 CompassTransaction CompassSession.beginTransaction(CompassTransaction.TransactionIsolation transactionIsolation)
          Begin a unit of work and return the associated CompassTranscation object.
 void CompassHits.close()
          Closes the hits object.
 void Compass.close()
          Closes Compass
 void CompassSession.close()
          Closes the CompassSession.
 void CompassTransaction.commit()
          Ends the current unit of work.
 void CompassOperations.create(Object obj)
          Creates a NEW object in Compass.
 void CompassTemplate.create(Object obj)
           
 void CompassOperations.create(String alias, Object obj)
          Creates a NEW object in Compass that shares mapping alais with multiple objects.
 void CompassTemplate.create(String alias, Object obj)
           
 Property CompassOperations.createProperty(String name, byte[] value, Property.Store store)
          Creates a binary property only stored (can be compressed).
 Property CompassTemplate.createProperty(String name, byte[] value, Property.Store store)
           
 Property CompassOperations.createProperty(String name, Reader value)
          Creates a property (indexed, and not stored) for the specified reader.
 Property CompassTemplate.createProperty(String name, Reader value)
           
 Property CompassOperations.createProperty(String name, Reader value, Property.TermVector termVector)
          Creates a property (indexed, and not stored) for the specified reader.
 Property CompassTemplate.createProperty(String name, Reader value, Property.TermVector termVector)
           
 Property CompassOperations.createProperty(String name, String value, Property.Store store, Property.Index index)
          Creates a Property that is used with the actual Search Engine.
 Property CompassTemplate.createProperty(String name, String value, Property.Store store, Property.Index index)
           
 Property CompassOperations.createProperty(String name, String value, Property.Store store, Property.Index index, Property.TermVector termVector)
          Creates a Property that is used with the actual Search Engine.
 Property CompassTemplate.createProperty(String name, String value, Property.Store store, Property.Index index, Property.TermVector termVector)
           
 CompassQueryBuilder CompassSession.createQueryBuilder()
          Deprecated. please use queryBuilder
 CompassQueryFilterBuilder CompassSession.createQueryFilterBuilder()
          Deprecated. please use queryFilterBuilder
 Resource CompassOperations.createResource(String alias)
          Creates a resource, that is used with the actual Search Engine implementation.
 Resource CompassTemplate.createResource(String alias)
           
 Object CompassHitsOperations.data(int n)
          Returns the object that maps the n'th hit
 void CompassOperations.delete(Class clazz, Object obj)
          Deletes an object from Compass that match the mapping specified for the defined class.
 void CompassTemplate.delete(Class clazz, Object obj)
           
 void CompassOperations.delete(CompassQuery query)
          Deletes all entries in the index that match the given query.
 void CompassTemplate.delete(CompassQuery query)
           
 void CompassOperations.delete(Object obj)
          Deletes an object from Compass.
 void CompassTemplate.delete(Object obj)
           
 void CompassOperations.delete(Resource resource)
          Deletes a resource with the specified alias.
 void CompassTemplate.delete(Resource resource)
           
 void CompassOperations.delete(String alias, Object obj)
          Deletes an object from Compass with multiple alias's.
 void CompassTemplate.delete(String alias, Object obj)
           
 CompassDetachedHits CompassHits.detach()
          Detaches a seperate CompassHits, holds all the data.
 CompassDetachedHits CompassHits.detach(int from, int size)
          Detaches a seperate CompassHits, which starts from the given from parameter, and has the specified size.
 Object CompassCallback.doInCompass(CompassSession session)
          Gets called by CompassTemplate.execute with an active Compass Session.
 Object CompassCallbackWithoutResult.doInCompass(CompassSession session)
           
protected abstract  void CompassCallbackWithoutResult.doInCompassWithoutResult(CompassSession session)
          Gets called by CompassTemplate.execute with an active Compass Session.
 Object CompassTemplate.execute(CompassCallback action)
          Executes the compass callback within a session and a transaction context.
 Object CompassTemplate.execute(CompassTransaction.TransactionIsolation transactionIsolation, CompassCallback action)
          Executes the compass callback within a session and a transaction context.
 CompassHitsOperations CompassTemplate.executeFind(CompassCallback action)
          A helper execute method for find operations.
 CompassHits CompassOperations.find(String query)
          Finds a list of objects that match the specified query.
 CompassHits CompassTemplate.find(String query)
           
 CompassDetachedHits CompassTemplate.findWithDetach(String query)
           
 CompassDetachedHits CompassTemplate.findWithDetach(String query, int from, int size)
           
 String CompassHighlighter.fragment(String propertyName)
          Returns the best highlighted fragment for the given property name / meta-data.
 String CompassHighlighter.fragment(String propertyName, String text)
          Returns the best highlighted fragment for the given property name / meta-data.
 String[] CompassHighlighter.fragments(String propertyName)
          Returns the best highlighted fragments for the given property name / meta-data.
 String[] CompassHighlighter.fragments(String propertyName, String text)
          Returns the best highlighted fragments for the given property name / meta-data.
 String CompassHighlighter.fragmentsWithSeparator(String propertyName)
          Returns the best highlighted fragments for the given property name / meta-data, speparated with the given separator.
 String CompassHighlighter.fragmentsWithSeparator(String propertyName, String text)
          Returns the best highlighted fragments for the given property name / meta-data, speparated with the given separator.
 Object CompassOperations.get(Class clazz, Serializable id)
          Returns an object that match the mapping specified for the defined class, and matches the specified id.
 Object CompassTemplate.get(Class clazz, Serializable id)
           
 Object CompassOperations.get(String alias, Serializable id)
          Returns an object that match the mapping specified for the defined alias, and matches the specified id.
 Object CompassTemplate.get(String alias, Serializable id)
           
 String CompassHit.getAlias()
          Returns the alias value of the hit.
 Object CompassHit.getData()
          Returns the object for this hit.
 Object[] CompassDetachedHits.getDatas()
          Returns all the Objects data as an array.
 CompassHighlightedText CompassHit.getHighlightedText()
          Returns a cached highlighted text the maps to the hit.
 String CompassHighlightedText.getHighlightedText()
          Returns the first highlighted text cached.
 String CompassHighlightedText.getHighlightedText(String propertyName)
          Returns the highlighted text associated with the given property name.
 CompassHit[] CompassDetachedHits.getHits()
          Returns all the CompassHits data as an array.
 Resource CompassHit.getResource()
          Returns the Resource for this hit.
 Resource CompassOperations.getResource(Class clazz, Serializable id)
          Returns a Resource that match the mapping specified for the defined class type, and specified id.
 Resource CompassTemplate.getResource(Class clazz, Serializable id)
           
 Resource CompassOperations.getResource(String alias, Serializable id)
          Returns a Resource that match the mapping specified for the defined alias (possibley different object types), and matches the specified id.
 Resource CompassTemplate.getResource(String alias, Serializable id)
           
 Resource[] CompassDetachedHits.getResources()
          Returns all the Resources as an array.
 float CompassHit.getScore()
          Returns the score for this hit.
 CompassHighlightedText CompassHitsOperations.highlightedText(int n)
          Returns a cached highlighted text the maps to the n'th hit.
 CompassHighlighter CompassHits.highlighter(int n)
          Returns the highlighter that maps the n'th hit.
 CompassHit CompassHitsOperations.hit(int n)
          Returns a compass hit wrapper that maps to the n'th hit
 CompassHits CompassQuery.hits()
          Performs the search and returns the hits that match the qeury.
 CompassHitIterator CompassDetachedHits.iterator()
          Returns a lazily loaded iterator over the hits.
 Object CompassOperations.load(Class clazz, Serializable id)
          Loads and returns an object that match the mapping specified for the defined class, and matches the specified id.
 Object CompassTemplate.load(Class clazz, Serializable id)
           
 Object CompassOperations.load(String alias, Serializable id)
          Loads and returns an object that match the mapping specified for the defined class, and matches the specified id.
 Object CompassTemplate.load(String alias, Serializable id)
           
 Resource CompassOperations.loadResource(Class clazz, Serializable id)
          Loads and returns a Resource that match the mapping specified for the defined class, and matches the specified id.
 Resource CompassTemplate.loadResource(Class clazz, Serializable id)
           
 Resource CompassOperations.loadResource(String alias, Serializable id)
          Loads and returns a Resource that match the mapping specified for the defined alias, and matches the specified id.
 Resource CompassTemplate.loadResource(String alias, Serializable id)
           
 CompassSession Compass.openSession()
          If there is a transaction bound session, will return it.
 CompassQueryBuilder CompassSession.queryBuilder()
          Creats a new query builder, used to build queries programmatically.
 CompassQueryFilterBuilder CompassSession.queryFilterBuilder()
          Creats a new query filter builder, used to build filters of queries programmatically.
 Resource CompassHitsOperations.resource(int n)
          Returns the resource that maps to the n'th hit
 void CompassTransaction.rollback()
          Force the underlying transaction to roll back.
 void CompassOperations.save(Object obj)
          Saves an object in Compass.
 void CompassTemplate.save(Object obj)
           
 void CompassOperations.save(String alias, Object obj)
          Saves an object in Compass that shares mapping alais with multiple objects.
 void CompassTemplate.save(String alias, Object obj)
           
 float CompassHitsOperations.score(int n)
          Returns the score of the n'th hit.
 CompassAnalyzerHelper CompassAnalyzerHelper.setAnalyzer(Resource resource)
          Sets the analyzer that will be used for the analysis of the text.
 CompassHighlighter CompassHighlighter.setAnalyzer(Resource resource)
          Sets the analyzer that will be used if analysis of the text is needed (see CompassHighlighter.TextTokenizer).
 CompassQueryBuilder.CompassQueryStringBuilder CompassQueryBuilder.CompassQueryStringBuilder.setAnalyzer(String analyzer)
          Sets the analyzer that will be used to analyze the query string.
 CompassAnalyzerHelper CompassAnalyzerHelper.setAnalyzer(String analyzerName)
          Sets the analyzer that will be used for the analysis of the text.
 CompassHighlighter CompassHighlighter.setAnalyzer(String analyzerName)
          Sets the analyzer that will be used if analysis of the text is needed (see CompassHighlighter.TextTokenizer).
 CompassQueryBuilder.CompassQueryStringBuilder CompassQueryBuilder.CompassQueryStringBuilder.setAnalyzerByAlias(String alias)
          Sets the analyzer that will be used to analyzer the query string.
 CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder.setAnalyzerByAlias(String alias)
          Sets the analyzer that will be used to analyzer the query string.
 CompassAnalyzerHelper CompassAnalyzerHelper.setAnalyzerByAlias(String alias)
          Sets the analyzer that will be used for the analysis of the text.
 CompassHighlighter CompassHighlighter.setHighlighter(String highlighterName)
          Sets the highlighter that will be used out the ones set in the configuration.
 CompassHighlighter CompassHighlighter.setMaxBytesToAnalyze(int maxBytesToAnalyze)
          Sets the maximum number of bytes that will be analyzed for highlighting.
 CompassHighlighter CompassHighlighter.setMaxNumFragments(int maxNumFragments)
          Sets the maximum number of fragments that can be returned or combined to a separator.
 CompassQueryBuilder.CompassQueryStringBuilder CompassQueryBuilder.CompassQueryStringBuilder.setQueryParser(String queryParser)
          Sets te query parser lookup name that will be used to parse the query string.
 CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder CompassQueryBuilder.CompassMultiPropertyQueryStringBuilder.setQueryParser(String queryParser)
          Sets te query parser lookup name that will be used to parse the query string.
 CompassHighlighter CompassHighlighter.setSeparator(String separator)
          Sets the separator string that will be used to combine different fragments in CompassHighlighter.fragmentsWithSeparator(String).
 CompassHighlighter CompassHighlighter.setTextTokenizer(CompassHighlighter.TextTokenizer textTokenizer)
          Sets how the text will be tokenized for highlighting.
 CompassTermFreqsBuilder CompassSession.termFreqsBuilder(String[] names)
          Creates a new terms frequencies builder used to get terms names and freqs for a list of property names.
 CompassTermFreq[] CompassTermFreqsBuilder.toTermFreqs()
          Builds and returns the term and their frequencies.
 boolean CompassTransaction.wasCommitted()
          Check if this transaction was successfully committed.
 boolean CompassTransaction.wasRolledBack()
          Was this transaction rolled back or set to rollback only?
 

Uses of CompassException in org.compass.core.accessor
 

Subclasses of CompassException in org.compass.core.accessor
 class PropertyAccessException
           
 class PropertyNotFoundException
          Indicates that an expected getter or setter method could not be found on a class.
 

Methods in org.compass.core.accessor that throw CompassException
 void PropertyAccessorFactory.configure(CompassSettings settings)
          Configures the property accessor registry, using the two default ones (field and property), and any external registered ones.
 Object DirectPropertyAccessor.DirectGetter.get(Object target)
           
 Object Getter.get(Object target)
          Get the property value from the given instance
 Object BasicPropertyAccessor.BasicGetter.get(Object target)
           
 void DirectPropertyAccessor.DirectSetter.set(Object target, Object value)
           
 void Setter.set(Object target, Object value)
          Set the property value from the given instance
 void BasicPropertyAccessor.BasicSetter.set(Object target, Object value)
           
 

Uses of CompassException in org.compass.core.cache.first
 

Methods in org.compass.core.cache.first that throw CompassException
 void FirstLevelCacheFactory.configure(CompassSettings settings)
           
 FirstLevelCache FirstLevelCacheFactory.createFirstLevelCache()
           
 

Uses of CompassException in org.compass.core.config
 

Subclasses of CompassException in org.compass.core.config
 class ConfigurationException
           
 

Methods in org.compass.core.config that throw CompassException
 Compass CompassConfiguration.buildCompass()
          Build compass with the configurations set.
 void CompassConfigurable.configure(CompassSettings settings)
          Configure using the given settings.
 InputStream InputStreamMappingResolver.getMappingAsInputStream()
          Returns an InputStream that holds the mapping.
 

Uses of CompassException in org.compass.core.converter
 

Subclasses of CompassException in org.compass.core.converter
 class ConversionException
          Represents an error during the conversion process between a Resource and an Object.
 

Methods in org.compass.core.converter that throw CompassException
 void DefaultConverterLookup.configure(CompassSettings settings)
           
 

Uses of CompassException in org.compass.core.converter.basic
 

Methods in org.compass.core.converter.basic that throw CompassException
 void AbstractFormatConverter.configure(CompassSettings settings)
           
 

Uses of CompassException in org.compass.core.converter.mapping.xsem
 

Methods in org.compass.core.converter.mapping.xsem that throw CompassException
 void XmlContentMappingConverter.configure(CompassSettings settings)
           
 

Uses of CompassException in org.compass.core.converter.xsem
 

Subclasses of CompassException in org.compass.core.converter.xsem
static class SupportsXmlContentWrapper.NotSupportedXmlContentWrapperException
           
 

Methods in org.compass.core.converter.xsem that throw CompassException
 void PoolXmlContentConverterWrapper.configure(CompassSettings settings)
          Configures the pool used from CompassEnvironment.Converter.XmlContent.MIN_POOL_SIZE and CompassEnvironment.Converter.XmlContent.MAX_POOL_SIZE.
 void PrototypeXmlContentConverterWrapper.configure(CompassSettings settings)
           
 void SingletonXmlContentConverterWrapper.configure(CompassSettings settings)
          Creates and configures a singleton XmlContentConverter.
 

Uses of CompassException in org.compass.core.engine
 

Subclasses of CompassException in org.compass.core.engine
 class SearchEngineException
          A general runtime exceptions that happens during search engine operations.
 class SearchEngineQueryParseException
          An exception happened when trying to parse a search engine query string.
 

Uses of CompassException in org.compass.core.engine.subindex
 

Methods in org.compass.core.engine.subindex that throw CompassException
 void ModuloSubIndexHash.configure(CompassSettings settings)
          Using configuration, expects prefix as the setting name, and size as the modulo right hand side operation.
 void ConstantSubIndexHash.configure(CompassSettings settings)
          Configures the constant sub index hash, expects subIndex as the setting name, and the sub index value as the setting value.
 

Uses of CompassException in org.compass.core.impl
 

Methods in org.compass.core.impl that throw CompassException
 CompassToken[] DefaultCompassAnalyzerHelper.analyze(Reader textReader)
           
 CompassToken[] DefaultCompassAnalyzerHelper.analyze(String text)
           
 CompassToken[] DefaultCompassAnalyzerHelper.analyze(String propertyName, Reader textReader)
           
 CompassToken[] DefaultCompassAnalyzerHelper.analyze(String propertyName, String text)
           
 CompassAnalyzerHelper DefaultCompassSession.analyzerHelper()
           
 CompassToken DefaultCompassAnalyzerHelper.analyzeSingle(String text)
           
 CompassTransaction DefaultCompassSession.beginTransaction()
           
 CompassTransaction DefaultCompassSession.beginTransaction(CompassTransaction.TransactionIsolation transactionIsolation)
           
 boolean CascadingManager.cascade(Class clazz, Object root, CascadeMapping.Cascade cascade)
           
 boolean CascadingManager.cascade(Object root, CascadeMapping.Cascade cascade)
           
 boolean CascadingManager.cascade(String alias, Object root, CascadeMapping.Cascade cascade)
           
 void DefaultCompassHits.close()
           
 void DefaultCompassSession.close()
           
 void DefaultCompassSession.create(Object object)
           
 void DefaultCompassSession.