Skip to content

Commit

Permalink
Small change
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosescri committed Oct 23, 2018
1 parent f9979f3 commit 9808216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,9 @@ The `SearchEngine` object gives you methods to manage a search engine.
#### Types Management

```php
$types = $mySearchEngine->getTypes(); // Obtain search engine's user datatypes
$types = $mySearchEngine->getInternalTypes(); // Obtain search engine's internal datatypes
$types = $mySearchEngine->getAllTypes(); // Obtain all search engine's datatypes
$types = $mySearchEngine->getTypes(); // Obtain search engine's user data types
$types = $mySearchEngine->getInternalTypes(); // Obtain search engine's internal data types
$types = $mySearchEngine->getAllTypes(); // Obtain all search engine's data types
$new_types = $mySearchEngine->addType('product'); // Add new type
$mySearchEngine->deleteType('product'); // Remove the type and all items within it.
$mySearchEngine->deleteType(array('product', 'category')); // Remove multiple types at once.
Expand Down

0 comments on commit 9808216

Please sign in to comment.