Skip to content

Commit

Permalink
FIX typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Aug 26, 2024
1 parent 492c8d9 commit 91d18d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs-src/docs/fulltext-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch';
const flexSearch = await addFulltextSearch({
// unique identifier. Used to store metadata and continue indexing on restarts/reloads.
identifier: 'my-search',
// The source collection on whoose documents the search is based on
// The source collection on whose documents the search is based on
collection: myRxCollection,
/**
* Transforms the document data to a given searchable string.
Expand Down Expand Up @@ -94,11 +94,11 @@ Step 3: Run a search operation:


```ts
// find all documents whoose searchstring contains "foobar"
// find all documents whose searchstring contains "foobar"
const foundDocuments = await flexSearch.find('foobar');

/**
* You can also use serach options as second parameter
* You can also use search options as second parameter
* @link https://github.com/nextapps-de/flexsearch#search-options
*/
const foundDocuments = await flexSearch.find('foobar', { limit: 10 });
Expand Down

0 comments on commit 91d18d4

Please sign in to comment.