Category "search"

Regular Expression to search longest word in a string

I have a string: var str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit"; Is there a way to find the longest word in a string using regex? This w

Julia is not giving me a good return value in Binary Search

I have made this recursive binary search function in Julia that will return the index where the number I am looking for is. (example: array = [1,2,4,8,16], key

how to search for a file with php

First thing is first. I am not a php developer this is something that is needed for my job so I took it on and I am learning as i go Right now we have an excel

How to search on GitHub to get exact string matches, including special characters

I can search exact matches from Google by using quotes like "system <<-". How can I do the same thing for GitHub?

How to translate and update Azure Cognitive Search Index document for different Language Analyzer fields?

I am working on configuration of Azure Cognitive Search Index which will be queried from websites in different languages. I have created language specific field

Read text file and look for certain words from key word list

I am new to Python, and I am trying to build a script where I import text_file_1 that contains a body of text. I want the script to read the body of text, and l

Create a filter query for Microsoft Graph that works equivalent to "contains"

I need to create a $filter query for the Microsoft Graph API that searches for a specific word in a string (the display name of users). For example I'd want to

Leaflet Control Search: open Popup for search result

I'm using the wonderful plugin Leaflet.Control.Search in order to search for markers (from a geoJson marker group) on my map – which works great. I only

Uniform Cost Search Implementation

I am trying to implement the Uniform Cost Search after watching the "Intro to AI" course in Udacity. However, my algorithm is not getting the correct path. Have

Most matching words in search query

I have user table (e.g. UserMst) is MySQL like UserID FirstName LastName FullName (expression column) ------ --------- -------- -----------------------

Most matching words in search query

I have user table (e.g. UserMst) is MySQL like UserID FirstName LastName FullName (expression column) ------ --------- -------- -----------------------

How do I search in AWS S3 bucket?

I'm very new to AWS and I recently learnt about S3 and Kendra Search. After a lot of effort I uploaded files into my S3 bucket and I'm trying to use the search

Is tagging a form of data mining?

I am implementing a small CRM system. and the concept of data mining to predict and find opportunities and trends are essential for such systems. One data minin

Unable to update react state with an array

I can make a successful call to getApiSuggestions with data returned. However I'm unable to assign this to my state. As you can see my console output shows tha

Generic Ruby solution for SQLite3 "LIKE" or PostgreSQL "ILIKE"?

I am using SQLite3 for development and PostgreSQL for deployment. However, I am facing the following problem: My simple search using SQLite3: def self.search(

Searching in datagridview using c#

After loading a table in datagridview I'm generating a combobox's items from the datagrid column headers. From the combobox I am selecting the column and I have

Two robots on a line

You probably know the problem with the two robots dropped on a line when you need to program them to meet. Two robots are dropped from an airplane and land

How to generate distinct solutions in Prolog for '8 out of 10 cats does countdown' numbers game solver?

I wrote a Prolog program to find all solutions to any '8 out of 10 cats does countdown' number sequence. I am happy with the result. However, the solutions are

Aws S3 Filter by Tags. Search by tags

We have our bucket with new Aws SDK API on AWS S3. We uploaded and tagged lots of files and folders with tags. How can we filter on key-value tag, or only one

What is the fastest way to check if any files in a directory tree have changed?

Currently I'm checking against an XOR Checksum of the modified file time (st_mtime from fstat) for every file in the tree. I'm coupling this with the number of