drush search-api:searchfor drush 9x
Searches for a keyword or phrase in a given index.
drush search-api:search
-
Aliases
search-api:search has 2 alias/es:
drush sapi-search
drush search-api-search
-
Arguments
search-api:search accepts 2 argument/s:
indexId* : The machine name of an index.
keyword* : The keyword to look for.
-
Options
search-api:search accepts 6 option/s:
--format
--format : format
--fields
--fields : fields
--field
--field : field
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Search for "title" inside the "node_index" index.
drush search-api:search node_index title
Alias to search for "title" inside the "node_index" index.
drush sapi-search node_index title
-
Comments
comments powered by Disqus