Questions tagged [text-search]
The text-search tag has no usage guidance.
text-search
204
questions
0
votes
1
answer
28
views
Powershell text search won't find strings with spaces
I have aproblem with this Powershell snippet. The problem is that when @search_string is one single string, it finds it in the file, BUT when @search_string contains as space, it doesn't find it. e.g....
1
vote
0
answers
43
views
Restrict Electron webContents.findInPage() search to specific page element(s)
Using Electron's webContents module and its findInPage() method, one can search the entire page for a text pattern. However, when implementing this with a modal Find window, the search pattern entered ...
0
votes
0
answers
47
views
How do I use a Mongodb aggregation variable such as the ones defined using `let` in $text operator search?
So, I have indexed a field in "terms" collection, and I am performing a lookup in that collection. Everything is working perfectly except that I am not able to use the defined variable for ...
1
vote
2
answers
435
views
Mongo Atlas combine $search with match
I'm searching through a collection either by hard data (numbers, other values) with $match and operaters like $regex, $in, $eq, $size, $gte, etc.
{'$match': {'$and': [{'isbn': {'$exists': 1}}, {'form':...
0
votes
0
answers
312
views
Goole Maps API - Text Search New - LocationRestriction doesn't work
I'm using the API Text Search, to find several locations with general request, like "Pizza Hut", and retrieve information about opening hours.
I'd like to restrain my search by location, ...
1
vote
1
answer
959
views
Isar: Is there a way to do a text search on the items of an IsarLinks object using indexes?
I have a collection of Bars, each of which have isar links to Foos:
@collection
class Bar{
Id? id;
final foos = IsarLinks<Foo>();
... // Bar stuff
};
Each Foo object has a field named ...
2
votes
1
answer
66
views
How to do full field match in Solr?
I want Solr to return a document only if all the tokens are present in the query. For example if a document have a text of "foo bar", then it will only be retrieved with a query like "...
2
votes
3
answers
578
views
How to use Puppeteer to count the occurrences of a specific text on a web page?
I am working with NodeJS and the Puppeteer library to load a website and then check if a certain text is displayed on the page. I would like to count the number of occurrences of this specific text. ...
0
votes
1
answer
202
views
Excel - FIND function (case-sensitive) ignores case?
Does anybody happen to know why the FIND function isn't case-sensitive here:
I used conditional formatting on my table with =OR(ISNUMBER(FIND($B$1:$B$13,A1))).
And the word "Rektor" in ...
1
vote
2
answers
170
views
Databases: Effectively implement string contains query
I need a way to effectively do a string contains query like:
# In SQL
LIKE '%some-string%'
# In mongo
{ $regex: /some-string/ }
But its very slow when the dataset size is big. Eg. I tried in a dummy ...
-1
votes
2
answers
250
views
How to sort and search in text while ignoring diacritics of all kinds?
Background
Various languages have what's called "Diacritics" . Special signs that come with "normal" letters, one way or another. They might change how the letters sound, or just ...
0
votes
1
answer
151
views
Text match and search on Mysql table column
I have a Mysql table with couple of columns, one column contains search_text VARCHAR.
The table is recording data with high frequency and contains millions of records.
I want to search a group of ...
0
votes
2
answers
239
views
Partial text search in mongoDB
I want to write a query to make the search operations on partial words but not getting any kind of solution other than Atlas Search. I have one solution to use regex but by using regex query is taking ...
0
votes
1
answer
78
views
Substring search with a (regex?) condition Python
I have a situation where I want to search if a substring exists in a large text. So, I was simply using:
if pattern in text: ...
But, I want to ensure that the existence of "pattern" in &...
2
votes
2
answers
908
views
How to create search bar for name search json javascript using filter
I am creating website of student community.
Having difficulty in adding Search Bar option to website.
I can add normal for search but had bug for all together.
How should I add name search here?
...