smart_text_search 0.0.1 copy "smart_text_search: ^0.0.1" to clipboard
smart_text_search: ^0.0.1 copied to clipboard

A powerful search plugin with efficient and accurate capabilities like 'Google Search' and 'Elasticsearch'. Operates on cached local data for fast and secure searching. Features advanced typo toleranc [...]

Smart Text Search #

SmartTextSearch is a powerful search engine plugin designed to deliver efficient and accurate search capabilities similar to 'Google Search' and 'Elasticsearch'. Unlike traditional search engines, SmartTextSearch operates on your locally cached data, ensuring fast and secure searching. It features advanced typo tolerance and recognizes similar words for enhanced search results.

This package offers a highly efficient and accurate search solution that leverages two powerful algorithms. By analyzing text semantically and examining each word individually, it delivers superior search results with enhanced relevance. Experience the benefits of this package as it provides advanced techniques to ensure the most optimal correspondence between queries and search text.

![pub package][version_badge]

Usage #

import 'package:smart_text_search/smart_text_search/sort_by_similarity.dart';

//...

// your data
final people = [
  Person('Marcelo Meneses'),
  Person('John Doe'),
  Person('Peter Smith'),
  Person('Mary Jane'),
  Person('John Smith'),
  Person('João da Silva')
];

const textToSearch = 'John Smith';

final sortedPeople = orderBySimilarity(
  textToSearch,
  people,
  (index, person) => person.name
);

String result = sortedPeople.map((p) => p.name).toString();
// result: (John Smith, John Doe, Peter Smith, João da Silva, Mary Jane, Marcelo Meneses)
    
5
likes
140
pub points
65%
popularity

Publisher

verified publishersolapps.com.br

A powerful search plugin with efficient and accurate capabilities like 'Google Search' and 'Elasticsearch'. Operates on cached local data for fast and secure searching. Features advanced typo tolerance and word similarity recognition for enhanced results.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on smart_text_search