function AND-OR-GRAPH-SEARCH(problem) returns a conditional plan, or failure OR-SEARCH(problem.INITIAL-STATE, problem, [])
@param problem
@return a conditional plan or null on failure
The {@link SearchAction#search(String)} method will be executed when the use executes a search e.g. by hittingenter in a search field.
@param query the query to search forThe result will never contain positions, and may contain the node tree depending on the depth parameter in the request. @param request the search request, not null @return the search result, not null @throws IllegalArgumentException if the request is invalid
keyword
is considered a match. The keyword
can be null in which case a list of all modules will be returned.
@param keyword A keyword to used for matching or null
to get all modules.
@param listPreferences Pagination preferences or null
to get all in no particular order.
@return A list of matching modules.
@throws IOException
@param input Ҫ�������ַ���������������һ���� @param offset Ҫ�������ַ�����ʼλ�����input��ƫ�� @param count Ҫ�������ַ����ַ����� @return ���ص�Hit����ǿգ�����ͨ��hit�����ṩ�ķ����ж�������� @see Hit
Example pattern:
search("BranchInstruction NOP ((IfInstruction|GOTO)+ ISTORE Instruction)*");
If you alter the instruction list upon a match such that other matching areas are affected, you should call reread() to update the finder and call search() again, because the matches are cached. @param pattern the instruction pattern to search for, where case is ignored @param from where to start the search in the instruction list @param constraint optional CodeConstraint to check the found code pattern foruser-defined constraints @return iterator of matches where e.nextElement() returns an array of instruction handlesdescribing the matched area
null
, then all subscribed channels are searched.
@param sortByStartTime Should the results be sorted by the start time? If not, the results will be grouped by date and channel and the search will be faster.
@return The matching programs.
-1
indicates that the object is not on the stack.
search(term, getMessages()) applying the search over all messages in the folder; subclasses may provide a more efficient mechanism.
@param term the search criteria
@return an array containing messages that match the criteria
@throws MessagingException if there was a problem accessing the store
-
javax.naming.directory.DirContext.search()
Searches in the context specified by
name
only, for any objects that have attributes that match the attributes
parameter. This method is equivalent to passing a null as
parameter to search(Name name, Attributes attributes, String[] as)
. Objects with attributes that match the attributes
parameter are selected and all attributes are returned for selected objects.
This method throws any NamingException
that occurs.
@param name the name specifies the context to be searched
@param attributes the attributes to be matched when search
@return NamngEnumeration
of SearchResult
@throws NamingException If any occurs.
@see #search(Name name,Attributes attributes,String[] as)
-
javax.naming.ldap.InitialLdapContext.search()
-
javax.naming.ldap.LdapContext.search()
-
jfix.search.FullTextIndex.search()
-
lotus.domino.Database.search()
-
name.abuchen.portfolio.online.SecuritySearchProvider.search()
-
net.rim.device.api.unifiedsearch.UnifiedSearchServices.search()
-
net.sf.katta.lib.lucene.ILuceneClient.search()
Searches with a given query in the supplied indexes for an almost unlimited ( {@link Integer#MAX_VALUE}) amount of results. If this method might has poor performance try to limit results with {@link #search(IQuery,String[],int)}.
@param query The query to search with.
@param indexNames A list of index names to search in.
@return A object that capsulates all results.
@throws KattaException
-
net.sf.katta.lib.lucene.LuceneClient.search()
-
netscape.ldap.LDAPConnection.search()
-
org.aisearch.uninformed.UninformedSearch.search()
-
org.apache.abdera.ext.opensearch.server.OpenSearchUrlAdapter.search()
Make the actual search operation based on passed parameters.
@param request The {@link org.apache.abdera.protocol.server.RequestContext} object.
@param parameters Search parameters extracted from the request: they are the same parameters reported into the Open Search URL template.
-
org.apache.bcel.util.InstructionFinder.search()
Search for the given pattern in the instruction list. You can search for any valid opcode via its symbolic name, e.g. "istore". You can also use a super class or an interface name to match a whole set of instructions, e.g. "BranchInstruction" or "LoadInstruction". "istore" is also an alias for all "istore_x" instructions. Additional aliases are "if" for "ifxx", "if_icmp" for "if_icmpxx", "if_acmp" for "if_acmpxx". Consecutive instruction names must be separated by white space which will be removed during the compilation of the pattern. For the rest the usual pattern matching rules for regular expressions apply.
Example pattern:
search("BranchInstruction NOP ((IfInstruction|GOTO)+ ISTORE Instruction)*");
If you alter the instruction list upon a match such that other matching areas are affected, you should call reread() to update the finder and call search() again, because the matches are cached.
@param pattern the instruction pattern to search for, where case is ignored
@param from where to start the search in the instruction list
@param constraint optional CodeConstraint to check the found code pattern for user-defined constraints
@return iterator of matches where e.nextElement() returns an array ofinstruction handles describing the matched area
-
org.apache.blur.server.IndexSearcherClosable.search()
-
org.apache.cassandra.db.ColumnFamilyStore.search()
-
org.apache.cassandra.utils.IntervalTree.search()
-
org.apache.cocoon.components.search.LuceneCocoonSearcher.search()
Search a query-string, returning zero, or more hits.
@param query_string A query string parsable by a query parser.
@param default_field The default field of the query string.
@return Hits zero or more hits matching the query string
@exception ProcessingException throwing due to processing errors whilelooking up the index directory, parsing the query string, generating the hits.
@since
-
org.apache.commons.math.optimization.univariate.BracketFinder.search()
Search new points that bracket a local optimum of the function.
@param func Function whose optimum should be bracketted.
@param goal {@link GoalType Goal type}.
@param xA Initial point.
@param xB Initial point.
@throws MaxIterationsExceededException if the maximum iteration countis exceeded.
@throws FunctionEvaluationException if an error occurs evaluating the function.
-
org.apache.directory.ldap.client.api.LdapConnection.search()
Do a search, on the base object, using the given filter. The SearchRequest parameters default to : Scope : ONE DerefAlias : ALWAYS SizeLimit : none TimeLimit : none TypesOnly : false Attributes : all the user's attributes. This method is blocking.
@param baseDn The base for the search. It must be a validDn, and can't be emtpy
@param filter The filter to use for this search. It can't be empty
@param scope The search scope : OBJECT, ONELEVEL or SUBTREE
@param attributes The attributes to use for this search
@return A search cursor on the result.
@throws LdapException if some error occurred
-
org.apache.directory.ldap.client.api.LdapNetworkConnection.search()
{@inheritDoc}
-
org.apache.directory.server.core.CoreSession.search()
Searches the directory using a specified filter. The scope is defaulting to 'base'. The alias dereferencing default to 'always'. the returned attributes defaults to 'all the user attributes)
@param dn the distinguished name of the entry to list the children of
@param filter the search filter
@throws Exception if there are failures while listing children
-
org.apache.directory.server.core.OperationManager.search()
TODO document after determining if this method should be here.
-
org.apache.directory.server.core.api.CoreSession.search()
Searches the directory using a specified filter. The scope is defaulting to 'base'. The alias dereferencing default to 'always'. the returned attributes defaults to 'all the user attributes)
@param dn the distinguished name of the entry to list the children of
@param filter the search filter
@throws Exception if there are failures while listing children
-
org.apache.directory.server.core.api.LdapCoreSessionConnection.search()
{@inheritDoc}
-
org.apache.directory.server.core.api.OperationManager.search()
TODO document after determining if this method should be here.
-
org.apache.directory.server.core.api.interceptor.Interceptor.search()
Filters {@link Partition#search(SearchOperationContext)} call.
-
org.apache.directory.server.core.api.partition.Partition.search()
Conducts a search against this ContextPartition. Namespace specific parameters for search are contained within the environment using namespace specific keys into the hash. For example in the LDAP namespace a ContextPartition implementation may look for search Controls using a namespace specific or implementation specific key for the set of LDAP Controls.
@param searchContext The context containing the information used by the operation
@throws Exception if there are any problems
@return a NamingEnumeration containing objects of type
-
org.apache.directory.server.core.api.partition.PartitionNexus.search()
-
org.apache.directory.server.core.interceptor.InterceptorChain.search()
-
org.apache.directory.server.core.partition.PartitionNexus.search()
-
org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.search()
-
org.apache.directory.studio.connection.core.io.ConnectionWrapper.search()
Search.
@param searchBase the search base
@param filter the filter
@param searchControls the controls
@param aliasesDereferencingMethod the aliases dereferencing method
@param referralsHandlingMethod the referrals handling method
@param controls the LDAP controls
@param monitor the progress monitor
@param referralsInfo the referrals info
@return the naming enumeration or null if an exception occurs.
-
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.search()
Search.
@param searchBase the search base
@param filter the filter
@param searchControls the controls
@param aliasesDereferencingMethod the aliases dereferencing method
@param referralsHandlingMethod the referrals handling method
@param controls the LDAP controls
@param monitor the progress monitor
@param referralsInfo the referrals info
@return the naming enumeration or null if an exception occurs.
-
org.apache.geronimo.farm.discovery.MulticastSearch.search()
-
org.apache.geronimo.farm.discovery.multicast.MulticastSearch.search()
-
org.apache.hadoop.chukwa.extraction.engine.datasource.DataSource.search()
-
org.apache.james.mailbox.MessageManager.search()
Searches for messages matching the given query. The result must be ordered
@param mailboxSession not null
@return uid iterator
@throws UnsupportedCriteriaException when any of the search parameters are not supported by this mailbox
@throws MailboxException when search fails for other reasons
-
org.apache.jena.larq.IndexLARQ.search()
Perform a free text Lucene search and returns an iterator of graph Nodes. Applications normally call searchModelByIndex.
@param queryString
@return Iterator of hits (Graph node and score)
-
org.apache.lucene.facet.DrillSideways.search()
Search, collecting hits with a {@link Collector}, and computing drill down and sideways counts.
-
org.apache.lucene.facet.search.DrillSideways.search()
Search, collecting hits with a {@link Collector}, and computing drill down and sideways counts.
-
org.apache.lucene.gdata.search.StandardGdataSearcher.search()
@see org.apache.lucene.gdata.search.GDataSearcher#search(org.apache.lucene.search.Query,int,int,java.lang.String)
-
org.apache.lucene.index.memory.MemoryIndex.search()
Convenience method that efficiently returns the relevance score by matching this index against the given Lucene query expression.
@param query an arbitrary Lucene query to run against this index
@return the relevance score of the matchmaking; A number in the range[0.0 .. 1.0], with 0.0 indicating no match. The higher the number the better the match.
-
org.apache.lucene.search.IndexSearcher.search()
Finds the top
n
hits for query
.
@throws BooleanQuery.TooManyClauses
-
org.apache.lucene.search.MultiSearcher.search()
-
org.apache.lucene.search.ParallelMultiSearcher.search()
A search implementation which executes each {@link Searchable} in its own thread and waits for each search to complete and mergethe results back together.
-
org.apache.lucene.search.Searcher.search()
Search implementation with arbitrary sorting. Finds the top
n
hits for query
, applying filter
if non-null, and sorting the hits by the criteria in sort
. NOTE: this does not compute scores by default; use {@link IndexSearcher#setDefaultFieldSortScoring} toenable scoring.
@throws BooleanQuery.TooManyClauses
-
org.apache.mahout.knn.search.BruteSearch.search()
Scans the list of reference vectors one at a time for @limit neighbors of the query vector. The weights of the WeightedVectors are not taken into account.
@param query The query vector.
@param limit The number of results to returned; must be at least 1.
@return A list of the closest @limit neighbors for the given query.
-
org.apache.mahout.knn.search.FastProjectionSearch.search()
When querying the Searcher for the closest vectors, a list of WeightedThing
s is returned. The value of the WeightedThing is the neighbor and the weight is the the distance (calculated by some metric - see a concrete implementation) between the query and neighbor. The actual type of vector in the pair is the same as the vector added to the Searcher.
-
org.apache.mahout.knn.search.Searcher.search()
When querying the Searcher for the closest vectors, a list of WeightedThing
s is returned. The value of the WeightedThing is the neighbor and the weight is the the distance (calculated by some metric - see a concrete implementation) between the query and neighbor. The actual type of vector in the pair is the same as the vector added to the Searcher.
-
org.apache.mahout.math.neighborhood.BruteSearch.search()
Scans the list of reference vectors one at a time for @limit neighbors of the query vector. The weights of the WeightedVectors are not taken into account.
@param query The query vector.
@param limit The number of results to returned; must be at least 1.
@return A list of the closest @limit neighbors for the given query.
-
org.apache.mahout.math.neighborhood.ProjectionSearch.search()
Searches for the query vector returning the closest limit referenceVectors.
@param query the vector to search for.
@param limit the number of results to return.
@return a list of Vectors wrapped in WeightedThings where the "thing"'s weight is thedistance.
-
org.apache.mahout.math.neighborhood.Searcher.search()
-
org.apache.mahout.math.neighborhood.UpdatableSearcher.search()
-
org.apache.maven.archiva.indexer.RepositoryArtifactIndex.search()
Search the index based on the search criteria specified. Returns a list of index records.
@param query The query that contains the search criteria
@return the index records found
@throws RepositoryIndexSearchException if there is a problem searching
@todo should it return "SearchResult" instances that contain the index record and other search data (like score?)
-
org.apache.nutch.searcher.DistributedSearch.Client.search()
-
org.apache.nutch.searcher.NutchBean.search()
@deprecated since 1.1, use {@link #search(Query)} instead
-
org.apache.slide.search.Search.search()
Method search
@param token a SlideToken
@param query a SearchQuery
@return the SearchQueryResult
@throws ServiceAccessException DataSource access error
-
org.apache.solr.search.SolrIndexSearcher.search()
-
org.apache.syncope.common.services.UserService.search()
-
org.apache.xindice.core.query.ftsearch.Searcher.search()
Executes query against list of nodes and returns matches in the order of relevance (score).
@param query Full text query
@return NodeSet that contains matching nodes
@throws ParseException Query failed to be parsed
-
org.aspectj.org.eclipse.jdt.internal.core.util.DOMFinder.search()
-
org.chaidb.db.index.btree.BTreePage.search()
Locate the indicated key and return a page/offset pair. Note that this is implicitly recursive; to search for a key, typically have to fetch a new page and invoke this same method on that page.
The search is a simple binary search. If this is an internal page, locate the key preceding (or equal to) the search key, then fetch the corresponding page and recurse. If this is a leaf page, look for an exact match.
-
org.cruxframework.crux.scanner.archiveiterator.URLIterator.search()
-
org.dbunit.util.search.DepthFirstSearch.search()
Alternative option to search() that takes an array of nodes as input (instead of a Set)
@see ISearchAlgorithm
-
org.dspace.app.cris.discovery.CrisSearchService.search()
-
org.dspace.discovery.SearchService.search()
-
org.eclipse.dltk.core.index2.search.ISearchEngine.search()
-
org.eclipse.dltk.core.search.SearchEngine.search()
-
org.eclipse.jdt.core.search.SearchEngine.search()
Searches for the Java element determined by the given signature. The signature can be incomplete. For example, a call like
search(ws, "run()", METHOD,REFERENCES, col)
searches for all references to the method run
. Note that by default the pattern will be case insensitive. For specifying case s sensitive search, use search(workspace, createSearchPattern(patternString, searchFor, limitTo, true), scope, resultCollector);
@param workspace the workspace
@param patternString the pattern to be searched for
@param searchFor a hint what kind of Java element the string pattern represents.Look into {@link IJavaSearchConstants} for valid values
@param limitTo one of the following values: - {@link IJavaSearchConstants#DECLARATIONS}: search for declarations only
- {@link IJavaSearchConstants#REFERENCES}: search for all references
- {@link IJavaSearchConstants#ALL_OCCURRENCES}: search for both declarations and all references
- {@link IJavaSearchConstants#IMPLEMENTORS}: for types, will find all types which directly implement/extend a given interface.
Note that types may be only classes or only interfaces if respectively {@link IJavaSearchConstants#CLASS} or{@link IJavaSearchConstants#INTERFACE} is used for searchFor parameter instead of {@link IJavaSearchConstants#TYPE}.
@param scope the search result has to be limited to the given scope
@param resultCollector a callback object to which each match is reported
@exception JavaModelException if the search failed. Reasons include: - the classpath is incorrectly set
@deprecated Use {@link #search(SearchPattern,SearchParticipant[],IJavaSearchScope,SearchRequestor,IProgressMonitor)} instead.
-
org.eclipse.jdt.internal.core.util.DOMFinder.search()
-
org.eclipse.jface.text.Document.search()
-
org.eclipse.jface.text.IDocument.search()
Returns the offset of a given search string in the document based on a set of search criteria.
@param startOffset document offset at which search starts
@param findString the string to find
@param forwardSearch the search direction
@param caseSensitive indicates whether lower and upper case should be distinguished
@param wholeWord indicates whether the findString should be limited by white spaces asdefined by Character.isWhiteSpace
@return the offset of the first occurrence of findString based on the parameters or -1 if no match is found
@exception BadLocationException if startOffset is an invalid document offset
@deprecated as of 3.0 search is provided by {@link FindReplaceDocumentAdapter}
-
org.eclipse.m2e.core.internal.index.IIndex.search()
-
org.eclipse.search.core.text.TextSearchEngine.search()
-
org.eclipse.ui.help.AbstractHelpUI.search()
Starts the help search using the help search facility. For backward compatibility, the default implementation does nothing.
@param expression the search expression
@since 3.1
-
org.eclipse.ui.help.IWorkbenchHelpSystem.search()
Starts the search using the help search system.
Ignored if no help UI is available.
@param expression the search expression. The actual syntax rules of the expression are dependent on the active help system. Refer to the help system documentation for more details.
-
org.elasticsearch.action.admin.indices.stats.IndicesStatsRequest.search()
-
org.elasticsearch.client.Client.search()
Search across one or more indices and one or more types with a query.
@param request The search request
@return The result future
@see Requests#searchRequest(String)
-
org.epic.perleditor.views.PerlDocView.search()
-
org.exist.indexing.lucene.LuceneIndexWorker.search()
SOLR
@param context
@param toBeMatchedURIs
@param queryText
@return search report
-
org.exist.indexing.spatial.AbstractGMLJDBCIndexWorker.search()
-
org.exoplatform.webui.organization.account.UIUserSelector.search()
-
org.fao.geonet.kernel.search.KeywordsSearcher.search()
-
org.fao.geonet.kernel.search.MetaSearcher.search()
-
org.fenixedu.academic.dto.person.SimpleSearchPersonWithStudentBean.search()
-
org.fenixedu.academic.dto.student.StudentsSearchBean.search()
-
org.geotools.data.shapefile.index.quadtree.QuadTree.search()
@param bounds
@return A List of Integer
-
org.goobi.production.plugin.interfaces.IOpacPlugin.search()
-
org.graylog2.restclient.models.UniversalSearch.search()
-
org.hbasene.index.search.HBaseIndexSearcher.search()
-
org.hyperdex.client.Client.search()
-
org.jahia.ajax.gwt.helper.SearchHelper.search()
Search for searchString in the name f the node
@param searchString
@param limit
@param currentUserSession
@return
@throws GWTJahiaServiceException
-
org.jahia.services.search.SearchService.search()
Performs a search using the SearchCriteria object, which is created with using the Jahia Search Tags or can also be created in Java classes by using the SearchCriteriaFactory.
@param criteria the passed SearchCriteria object, which includes all search criteria
@param context context object, containing information about current user, locale etc.
@return SearchResponse object with the list of hits matching the criteria
-
org.jayasoft.woj.server.services.search.SearchService.search()
-
org.jboss.dna.graph.Graph.search()
Search the current workspace using the supplied full-text search expression.
@param fullTextSearchExpression the full-text search expression
@param maxResults the maximum number of results that are to be returned; always positive
@param offset the number of initial results to skip, or 0 if the first results are to be returned
@return the results of the search; never null
@throws IllegalArgumentException if the expression is null
-
org.jboss.forge.shell.util.PathspecParser.search()
Perform a search, by doing a breadth-first traversal of the resource tree for resources that match the path string.
@return A list of resources that match the path string. Empty if there are no matches.
-
org.jboss.seam.wiki.core.search.WikiSearch.search()
-
org.jdesktop.swingx.search.Searchable.search()
Search
searchString
from the beginning of a document.
@param searchString String
we should find in a document.
@return index of matched String
or -1 if a match cannot be found.
-
org.jitterbit.integration.client.project.jitterpack.JitterPackLocator.search()
Starts a new search.
@param root the starting point of the search.
@param recursively if
true
, the specified root directory will be searched recursively.
@param params an ImportParameters
defining the parameters to use when searching for jitterpaks
@param applyExtensionFilter if true, the search will only look for and examine files that have the JitterPack extension, as defined by {@link JitterPackConstants#FILE_EXTENSION}.
@param callback a callback that will be notified of the search progress.
-
org.jivesoftware.openfire.archive.ArchiveSearcher.search()
Searches the archive using the specified search. The {@link ArchiveSearch} classis used to encapsulate all information about a search.
@param search the search.
@return a Collection of conversations that match the search query.
-
org.jmule.core.searchmanager.SearchManager.search()
Starts a new search process based on the given search string
@param searchString the given search string
-
org.joni.Matcher.search()
-
org.jwall.rbl.data.RblFile.search()
-
org.locationtech.udig.catalog.ICatalog.search()
-
org.locationtech.udig.project.ui.feature.FeaturePanelProcessor.search()
List of FeaturePanelEntry that can match the provided element (usually a SimpleFeature).
You can use these FeaturePanelEntry to make feature panels to edit the indicated element.
@param element
@return List matching FeaturePanelEntry
-
org.locationtech.udig.tool.info.internal.InfoView2.search()
-
org.mypj.tele.client.Msg.search()
-
org.nasutekds.server.api.Backend.search()
Processes the specified search in this backend. Matching entries should be provided back to the core server using the {@code SearchOperation.returnEntry} method. The caller is notrequired to have any locks when calling this operation.
@param searchOperation The search operation to be processed.
@throws DirectoryException If a problem occurs while processingthe search.
@throws CanceledOperationException If this backend noticed andreacted to a request to cancel or abandon the search operation.
-
org.onebusaway.webapp.gwt.where_library.impl.CombinedSearchServiceImpl.search()
-
org.onebusaway.webapp.gwt.where_library.services.CombinedSearchService.search()
-
org.opensolaris.opengrok.search.SearchEngine.search()
Execute a search. Before calling this function, you must set the appropriate search criteria with the set-functions. Note that this search will return the first cachePages of hitsPerPage, for more you need to call more
@return The number of hits
-
org.rhq.plugins.apache.parser.ApacheDirectiveTree.search()
-
org.sikuli.core.search.ImageSearcher.search()
-
org.sindice.siren.demo.SimpleSearcher.search()
-
org.sleuthkit.autopsy.modules.hashdatabase.HashDbSearchAction.search()
-
org.sonar.core.permission.PermissionQuery.search()
-
org.sonar.server.activity.index.ActivityIndex.search()
-
org.sonar.server.rule.index.RuleIndex.search()
-
org.springframework.ldap.core.LdapTemplate.search()
-
org.springframework.social.twitter.TwitterTemplate.search()
-
org.springmodules.lucene.search.core.LuceneSearchTemplate.search()
Search the index basing a Lucene query created thanks to a callback method defined in the QueryCreator interface. In this case, the exceptions during the query creation are managed by the template.
@param queryConstructor the query constructor
@param extractor the extractor of hit informations
@return the search results
@see QueryCreator#createQuery(Analyzer)
-
org.springmodules.lucene.search.factory.LuceneSearcher.search()
-
org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService.search()
-
org.tuba.integration.search.IntegrationSearcher.search()
-
org.wijiscommons.ssaf.search.SearchService.search()
-
org.xwiki.extension.test.po.SimpleSearchPane.search()
-
pat.Regex.search()
-
proj.zoie.service.api.ZoieSearchService.search()
-
railo.runtime.search.SearchCollection.search()
search the collection
@param data
@param qry Query to append resuts
@param criteria
@param language
@param type SEARCH_TYPE_EXPLICIT or SEARCH_TYPE_SIMPLE
@param startrow
@param maxrow
@param categoryTree
@param category
@return new startrow
@throws SearchException
@throws PageException
-
redis.seek.Seek.search()
-
rocks.xmpp.extensions.search.SearchManager.search()
Performs a search on the given service with given search parameters. Note that this method blocks the current thread until a response has received.
@param search The search parameters.
@param service The service, which will perform the search, usually a server or server component.
@return The search result (see {@link Search#getItems()}) or null if search is not supported.
@throws rocks.xmpp.core.stanza.model.StanzaException If the entity returned a stanza error.
@throws rocks.xmpp.core.session.NoResponseException If the entity did not respond.
-
twitter4j.Twitter.search()
h.twitter.com/search
@param query - the search condition
@return the result
@throws TwitterException when Twitter service or network is unavailable
@since Twitter4J 1.1.7
@see Twitter API Wiki / Twitter Search API Method: search
Examples of org.springmodules.lucene.search.factory.LuceneSearcher.search()
searcherFactoryControl.setReturnValue(searcher, 1);
queryCreator.createQuery(analyzer);
queryCreatorControl.setReturnValue(query, 1);
searcher.search(query);
searcherControl.setReturnValue(hits, 1);
hits.length();
hitsControl.setReturnValue(1, 1);
Examples of org.springsource.ide.eclipse.commons.frameworks.core.internal.plugins.PluginService.search()
ServiceReference addOnServiceReference = null;
try {
addOnServiceReference = getAddOnService(addOnServiceReference);
if (addOnServiceReference != null) {
PluginService service = (PluginService) framework.getBundleContext().getService(addOnServiceReference);
return service.search(searchTerms, refresh, trustedOnly, compatibleOnly);
}
}
catch (Throwable e) {
RooCoreActivator.log(e);
} finally {
Examples of org.tuba.integration.search.IntegrationSearcher.search()
XMLIntegrator integrator = reference.getIntegrator();
IntegrationSearcher searcher = new IntegrationSearcher();
if (integrator == null) {
Tuple<List<XMLArtefactOperation>, XMLIntegrator> additionalChain = searcher
.search(lastRepresentationType);
if (additionalChain == null) {
// TODO externalize
String message = "no cain containing a list of operations and one integrator could be found"; //$NON-NLS-1$
showError(message);
Examples of org.wijiscommons.ssaf.search.SearchService.search()
Search search = new Search();
search.setAny(searchRequestDocument.getDocumentElement());
try
{
SearchResponse searchReponse = port.search(search);
if (searchReponse != null)
{
Element searchReponseElement = (Element) searchReponse.getAny();
System.out.println("Search result : "
+ ClientDomUtils
Examples of org.xwiki.extension.test.po.SimpleSearchPane.search()
// Check if the tip is displayed.
Assert.assertEquals("search extension...", searchBar.getSearchInput().getAttribute("placeholder"));
// Check that the input is empty
Assert.assertEquals("", searchBar.getSearchInput().getAttribute("value"));
SearchResultsPane searchResults = searchBar.search("XWiki Rendering");
Assert.assertTrue(searchResults.getPagination().getResultsCount() < coreExtensionCount);
// Make sure the search input is not cleared.
searchBar = new SimpleSearchPane();
Assert.assertEquals("XWiki Rendering", searchBar.getSearchInput().getAttribute("value"));
Examples of pat.Regex.search()
private String _getRcsVersion() {
String sClassFileContent = _getClassFile(_sMainClass);
if (sClassFileContent == null) {
return (String)null; }
Regex pRegex = new Regex("\\$Header: [^ ]*\\.java[^ ]* (\\d+\\.\\d+) ");
pRegex.search(sClassFileContent);
String sVersion = pRegex.substring(0);
return sVersion; }
private String _getRcs() {
String sRcs = "";
if (Jacob3.Main.B_PRIVATE && (!_sMainClass.equals(""))) {
Examples of proj.zoie.service.api.ZoieSearchService.search()
final ZoieSearchService svc = (ZoieSearchService) (factoryBean.getObject());
SearchRequest req = new SearchRequest();
// req.setQuery("java");
SearchResult res = svc.search(req);
System.out.println("hits: "+res.getTotalHits()+" time: "+res.getTime());
}
}
Examples of railo.runtime.search.SearchCollection.search()
long time=System.currentTimeMillis();
AddionalAttrs.setAddionalAttrs(contextBytes,contextPassages,contextHighlightBegin,contextHighlightEnd);
try {
for(int i=0;i<collections.length;i++) {
collection=collections[i];
startrow=collection.search(data,qry,criteria,collection.getLanguage(),type,startrow,maxrows,categoryTree,category);
if(maxrows>=0 && qry.getRecordcount()>=maxrows) break;
}
pageContext.setVariable(name,qry);
}
Examples of redis.seek.Seek.search()
@Test
public void cache() throws InterruptedException {
addEntry("MLA98251174", 1287278019);
Seek seek = new Seek();
Search search = seek.search("84689862");
search.text("title", "ipod 160");
Result result = search.run(1, 0, 50, Order.DESC);
Set<String> keys = jedis.keys("*:" + Seek.QUERIES_RESULT);
assertEquals(1, result.getTotalCount());
assertEquals(1, keys.size());
Examples of rocks.xmpp.extensions.search.SearchManager.search()
public void handle(ActionEvent actionEvent) {
SearchManager searchManager = xmppSession.getExtensionManager(SearchManager.class);
try {
Search search = new Search("22*", null, null, null);
searchManager.discoverSearchFields(new Jid("search.dev"));
Search result = searchManager.search(search, new Jid("search.dev"));
for (Search.Item item : result.getItems()) {
System.out.println(item.getJid());
}
} catch (XmppException e) {
e.printStackTrace();
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.