37,135 questions
-3
votes
0
answers
59
views
It looks like str(i)pos and str(i)str both return non-false only if the strings are equal [closed]
strstr and strpos (and both their case insensitive alternatives) only return non-FALSE if both arguments (strings) are equal, in any other case it returns false (be it the needle IS in haystack or not)...
1
vote
0
answers
41
views
Search custom ckan resource metadata
I am exploring CKAN and was trying to store some custom fields while creating resources in CKAN using the resource_create API. After storing the resource I want to be able to search using the custom ...
0
votes
1
answer
75
views
Show attachments (PDF) as searchresult instead of the custom post_type
In Wordpress i'd like to filter search: Either search in news-items or specific documents (PDF's).
I've created a custom post_type (cpt) 'documents' where the PDF's can be uploaded, with a title and ...
1
vote
0
answers
35
views
How to integrate v3 invisible recaptcha to Magento 2.4.6 search
I have integrated recaptcha in search form but the issue is when user directly hit the search url like catalogsearch/result/?q=ring, there also i have integrate recaptcha. Please suggest some method. ...
0
votes
0
answers
63
views
Post content appears on multiple pages, so how should I handle the post content in search results?
I have a site where post content gets used as components on several pages. There's also some nested post content which makes it more complicated.
This is a problem in the WordPress search results, ...
0
votes
1
answer
54
views
OpenSearch get top n results by keyword field (OpenSearch 3.1)
I have a few OpenSearch indicies (running OpenSearch 3.1 on AWS) and each index has a type_slug field that tells the application what kind of object it is. I would like to get the top 5 results for ...
0
votes
1
answer
43
views
How to add last24hour filter in a Netsuite script saved search?
I am trying to filter vendors activated/inactivated in last 24 hours. But I tried lot but not getting any results, whereas there are few vndors activated in last 24 hours in Netsuite account. Please ...
1
vote
3
answers
82
views
If column BU contains "Tail lift required" add "TL&PT" to beginning of cell in Colum U
I am trying to add specific text to the beginning of a cell in column U based on the value of the corresponding cell in column BU.
If Column BU contains the text "TAIL LIFT REQUIRED" then ...
0
votes
0
answers
23
views
Elasticsearch one-way Chinese synonyms with Smartcn tokenizer causing unexpected token overlap
Questions:
Is there a way to prevent this token overlap when using one-way synonyms with Chinese text in Elasticsearch?
Are there recommended approaches for handling one-way Chinese synonyms more ...
4
votes
1
answer
202
views
Spelling Bee optimal word set search
The NYT Spelling Bee game is a word game, where given 7 letters including 1 "center letter", you find words at least 4 letters long that must use the "center letter". The scoring ...
0
votes
0
answers
107
views
Why doesn't VS Code pop up context menu on top level folder / project folder provide Search option?
When I right-click on the top most / top level / project folder / root folder to get the context pop-up menu, I don't get a Search option in that menu:
In my case, in the picture, the top most folder ...
-2
votes
1
answer
64
views
How to use Beautiful Soup to find partial links [closed]
I have an eBay page in which I would like to formulate a list of all the item numbers on that page. I have executed and parsed the HTML content using requests and Beautiful Soup, but I can't figure ...
0
votes
0
answers
38
views
Combine autocomplete and text search into single index definition
Suppose that I have the below simplified schema:
const Venue = new mongoose.Schema(
{
name: {
en: { type: String, required: true }, // English translation
fr: { type: String, ...
3
votes
1
answer
44
views
User Input Processing(getting rid of typos: when they do not have space(s)
I'm building graph query to Cypher and trying to process user input with fuzzy matching and then filtering with Lavenshtein distance. This works really well for the most cases for me but I struggle ...
0
votes
1
answer
71
views
How can I save the search name and filters in react?
I have a site made using the MERN stack, and right now I am trying to save the search names and filters when the user clicks to return to the Families.jsx page.
GIF showing the problem.
Before, the ...