Uses of Class
org.apache.solr.handler.component.PhrasesIdentificationComponent.Phrase
-
Packages that use PhrasesIdentificationComponent.Phrase Package Description org.apache.solr.handler.component SearchComponent
implementations for use inSearchHandler
-
-
Uses of PhrasesIdentificationComponent.Phrase in org.apache.solr.handler.component
Fields in org.apache.solr.handler.component with type parameters of type PhrasesIdentificationComponent.Phrase Modifier and Type Field Description List<PhrasesIdentificationComponent.Phrase>
PhrasesIdentificationComponent.PhrasesContextData. allPhrases
Methods in org.apache.solr.handler.component that return types with arguments of type PhrasesIdentificationComponent.Phrase Modifier and Type Method Description static List<PhrasesIdentificationComponent.Phrase>
PhrasesIdentificationComponent.Phrase. extractPhrases(String input, SchemaField analysisField, int maxIndexedPositionLength, int maxQueryPositionLength)
Factory method for constructing a list of Phrases given the specified input and using the analyzer for the specified field.List<PhrasesIdentificationComponent.Phrase>
PhrasesIdentificationComponent.Phrase. getIndexedSuperPhrases()
Returns all phrases larger then this phrase, which fully include this phrase, and are indexed.List<PhrasesIdentificationComponent.Phrase>
PhrasesIdentificationComponent.Phrase. getIndividualIndexedTerms()
Returns the list of "individual" (ie:getPositionLength()==1
terms.List<PhrasesIdentificationComponent.Phrase>
PhrasesIdentificationComponent.Phrase. getLargestIndexedSubPhrases()
Returns the list of (overlapping) sub phrases that have the largest possible size based on the effective value ofPhrasesIdentificationComponent.PhrasesContextData.maxIndexedPositionLength
.Method parameters in org.apache.solr.handler.component with type arguments of type PhrasesIdentificationComponent.Phrase Modifier and Type Method Description static List<org.apache.solr.common.util.NamedList<Object>>
PhrasesIdentificationComponent.Phrase. formatShardResponse(List<PhrasesIdentificationComponent.Phrase> phrases)
Format the phrases suitable for returning in a shard responsestatic void
PhrasesIdentificationComponent.Phrase. populateScores(List<PhrasesIdentificationComponent.Phrase> phrases, Map<String,Double> fieldWeights, int maxIndexedPositionLength, int maxQueryPositionLength)
Public for testing purposesstatic void
PhrasesIdentificationComponent.Phrase. populateStats(List<PhrasesIdentificationComponent.Phrase> phrases, Collection<String> fieldNames, SolrIndexSearcher searcher)
Populates the phrases with stats from the local index for the specified fieldsstatic void
PhrasesIdentificationComponent.Phrase. populateStats(List<PhrasesIdentificationComponent.Phrase> phrases, List<org.apache.solr.common.util.NamedList<Object>> shardData)
Populates the phrases with (merged) stats from a remote shardString
PhrasesIdentificationComponent.PhrasesContextData. summarize(List<PhrasesIdentificationComponent.Phrase> results)
Given a list of phrases to be returned to the user, summarizes those phrases by decorating the original input string to indicate where the identified phrases exist, usingPhrasesIdentificationComponent.PhrasesContextData.summaryPre
andPhrasesIdentificationComponent.PhrasesContextData.summaryPost
-