Questions tagged [keyword-search]
236 questions
695
votes
14 answers
How can I use grep to find a word inside a folder?
In Windows, I would have done a search for finding a word inside a folder. Similarly, I want to know if a specific word occurs inside a directory containing many sub-directories and files. My searches for grep syntax shows I must specify the…

kiki
- 13,627
- 17
- 49
- 62
43
votes
7 answers
Using contains() in LINQ to SQL
I'm trying to implement a very basic keyword search in an application using linq-to-sql. My search terms are in an array of strings, each array item being one word, and I would like to find the rows that contain the search terms. I don't mind if…

a_m0d
- 12,034
- 15
- 57
- 79
9
votes
3 answers
mongodb query subset of an array
I have a field _keywords which is an array of strings. I want to get documents where _keywords is a super-set of the query array.
For example:
db.article.insert({'_keywords': ['foo', 'foo1', 'foo2']})
I want to retrieve this record when I query…

Jensen
- 1,653
- 4
- 26
- 42
6
votes
2 answers
Error: Class advice impossible in Python3 topia.termextract
I am performing an nlp task. I have written the following code for topia.termextract. While executing it isshowing errors. It will be helpful, if you suggest to resolve the errors.
from topia.termextract import extract
from topia.termextract import…

shan
- 553
- 2
- 9
- 25
5
votes
1 answer
Performing a fuzzy contains check
I would like to check if a keyword string is contained within a text string. This must be a fuzzy contains.
My first attempt was to use the library fuzzywuzzy. This seemed to have unexpected behavior producing high match values when the strings…

Michael
- 3,411
- 4
- 25
- 56
5
votes
2 answers
search keywords efficiently when keywords are multi words
I needs to match a really large list of keywords (>1000000) in a string efficiently using python. I found some really good libraries which try to do this fast:
1) FlashText (https://github.com/vi3k6i5/flashtext)
2) Aho-Corasick Algorithm…

suzee
- 563
- 4
- 25
4
votes
0 answers
How to prevent slow match / match_phrase queries for keywords in Kibana?
How can I achieve that a match query for certain fields is equivalent to a term query?
I have a larger index in Elastic covering events. Each event has an eventid field consisting of a random hex string (e.g. f4fc38c993c1a8273f9c40eedc9050b7) as…

kelunik
- 6,750
- 2
- 41
- 70
4
votes
1 answer
Partial and Full Phrase Match
Say I have the sentence: "John likes to take his pet lamb in his Lamborghini Huracan more than in his Lamborghini Gallardo" and I have a dictionary containing "Lamborghini", "Lamborghini Gallardo" and "Lamborghini Huracan". What's a good way of…

dter
- 1,065
- 2
- 11
- 22
4
votes
1 answer
Finding word combinations on domain names
I am a PHP novice and need some help finishing my script. I have a PHP script that can take all of the words from a domain name. I need the script to be able to find the most likely words that are the domain name's keywords.
Here is my…

Daniel
- 293
- 4
- 10
3
votes
1 answer
How can I add "related" tag/keyword to search from start menu for an UWP app
To search a windows app from start menu search or windows search we type the display name of an app. However, I wanted to add customized keyword/tags to search my UWP app from that search. For some searches we see windows app suggestions or related…

Mohibul Hossain
- 31
- 3
3
votes
1 answer
Common Crawl data search all pages by keyword
I am wondering if it is possible to lookup a key word using the common crawl api in python and retrieve pages that contain the key word. For example, if I lookup "stack overflow" it will find the pages which the key word - "stack overflow" is in the…

Python 123
- 59
- 1
- 13
3
votes
3 answers
How to find similar products
I am creating price comparison website in php and mysql. so i need to find similar products and map it to create price comparison table. In my database 10,000+ products are available, so to find similar products i have create mysql fulltext index in…

jay padaliya
- 624
- 6
- 12
3
votes
1 answer
How do keyword research/analysis software work [theoratically]?
I have seen a lot of keyword research/analysis applications, such as Market Samurai: Keyword Analysis Tool, and SEMRush keyword tool.
My question is how can they get stats about those keywords ? are they using google api to achieve that ?
I fail to…

Nabil Ali
- 147
- 1
- 13
3
votes
1 answer
Keyword SQL Server stored procedure
I am fairly new to SQL Server but I have to write a stored procedure that will search a specific table with a list of keywords and it is suppose to return the rows which a hit has been found, I wrote a query which works but the problems is when I…

Aya
- 33
- 3
3
votes
3 answers
Check if Python input contains a list of keywords
AKA the correct version of this:
if ['hi', 'hello', 'greetings'] in userMessage:
print('Hello!')
I tried what's showed above but it says it cannot use lists, it must use a single string. Same thing if I set the array to an object/variable. If I…

Gabe Weiner
- 41
- 1
- 4