Click here to Skip to main content
15,887,135 members
Everything / Search

Search

search

Great Reads

by Patrick P. Frey
This tutorial based on a docker image will guide through the development of a search engine service based on Strus and its Python Bindings within the Tornado web-framework.
by Ajcek84
Using locality-sensitive hashing algorithm to improve performance of searching of musical incipits
by Patrick P. Frey
Article about implications of scalability requirements on full-text search engines and how Strus meets these requirements.
by Arnaldo P. Castaño
This document describes a tabu Search algorithm embedded in a multiobjective framework capable of finding solutions to the zoning problem by allowing the optimization of multiple objectives.

Latest Articles

by Arctype SQL
How to use full text search and the match keyword to find a string in every table in a MySQL database
by Dharmesh Barochia
Recommended best practices for finding and removing Duplicate Text/Documents
by Mehdi Gholam
Smallest full text search engine (lucene replacement) built from scratch using inverted MGRB bitmap index, highly compact storage, operating in database and document modes
by Ajcek84
Using locality-sensitive hashing algorithm to improve performance of searching of musical incipits

All Articles

Sort by Updated

Search 

8 Dec 2023 by Dave Rave
Instead of developing everything from scratch why don't you use existing parser like Simple HTML DOM documentation[^] ? This one works very well and will save you hours of development. The rest is easy - the queue of links to process etc. I'd...
26 Nov 2023 by Maciej Los
I think you don't understand what semantic analysis[^] are. I'd suggest to start with Stanford's Univerity publication: Learning Word Vectors for Sentiment Analysis[^]. Then, use its Large Movie Review Dataset[^] to create your own model. In...
24 Nov 2023 by Apoorva666
I have a dataset in csv format. Most columns have numbers in them. The data is mostly number based, with little text. A sample of my dataset: Test_name Execution_date User_name Total_tests Passed_tests Failed_tests test1, ...
24 Nov 2023 by s.s.scriptties
I've made a PHP web crawler and then made a MySQL table called "dex" as in index, then I connected to the database through PDO and tweaked the code to "INSERT" websites that aren't already crawled into the table, "UPDATE" for websites that are...
19 Sep 2023 by Apoorva666
I'm trying to build a semantic search engine for my production application. I tried building one from scratch. I did the tokenization, vectorization,... & other steps myself, but the whole process was consuming a lot of time. So I decided to use...
19 Sep 2023 by Dave Kreskowiak
The problem isn't with Kendra. It's with your understanding of how it works and your expectations. There's plenty of areas that can cause your searches to fail to return expected results. This can be how you're indexing your documents, which...
19 Sep 2023 by Richard MacCutchan
The documentation at Amazon Kendra Features - Amazon Web Services[^] suggests it offers intelligent searching. You need to study it in detail.
11 Jun 2023 by mhnCPF
I am receiving way too many e-mails How do I stop this? What I have tried: Searching through the web site over and over again
11 Jun 2023 by Richard MacCutchan
Posting your question in the correct forum might be an idea: Bugs and Suggestions[^].
23 Mar 2023 by Jeffrey Rempel
Does anyone have a suggestion for a alternative control similar to ngx-advanced-search or ngx-magicsearch. These don't seem to be maintained anymore. I'm looking for a control where users can choose which fields they want to search by to provide...
23 Mar 2023 by Ayush Bajpai 2023
Did you find anything? Please suggest me too, would be helpful. Thanks
18 Feb 2023 by merano99
Currently, this is C source code. The other programming languages according to the tag are irrelevant. There are several errors: // Str = (char**)calloc(5, sizeof(char)); need space for pointer, use n for size! Str = (char**)calloc(n,...
18 Feb 2023 by Addy__0
#include #include #include char **StringArray(char **arr, int size); int main() { char **Str; int n= 5; int i; Str= (char**)calloc(5,sizeof(char)); Str[0]= (char*) calloc(10, sizeof(char)); ...
17 Feb 2023 by OriginalGriff
Probably because it doesn't compile: you declare StringArray as returning achar** - but the function body does not have a return statement. If code doesn't compile, then it doesn't generate an EXE file - so what you are running is the previous...
17 Feb 2023 by CPallini
Quote: Str= (char**)calloc(5,sizeof(char)); That should beStr= (char**)calloc(5,sizeof(char *)); Might be there are other errors, as well. Anyway the code is not robust against user input.
17 Feb 2023 by Versy Stems
I don't know how to perform a certain type of search and replace. What I have tried: To adapt an old source code within eclipse it will be very convenient to do a search and replace keeping one character of the original text and replacing it...
17 Feb 2023 by OriginalGriff
Try:([a-zA-Z]+)(?\d+)(...
23 Oct 2022 by devonJones
So I've implemented a BFS search algorithm to find the shortest path from the first index in the binary matrix (top left) to the last index (bottom right). I would now like to trace back the path that I found, but I have no idea how to keep...
22 Oct 2022 by ernteSKY
The following code working well with basics but I would like to update with speacial request. My_listBox.SelectedItems.Clear(); for (int i = My_listBox.Items.Count - 1; i >= 0; i--) { ...
13 Oct 2022 by Dan Jj
Write a program to solve the 8-queen problem in hill climbing and simulated annealing algorithms. For hill climbing, you must write an algorithm for each of the three different variants: steepest-ascent, first-choice, and random restart. Use a...
13 Oct 2022 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
3 Oct 2022 by Venki Vky
I NEED TO CREATE A SEARCH BAR IN MY UWP APP ...
22 Jul 2022 by n.ll
I am using power portal to create a form. I am using a basic form and adding JQuery to it. I have an 'deactivate item number' field that needs to show suggested options as the user types. The table has two columns: item number (a number) and...
3 Jul 2022 by Hamza M. S. Abazeed
Good afternoon, I'm trying to complete a small project using SQL Server, but I'm having some troubles ;/ I'm trying to Serch in SQL Server table, where I have a statement (one word or many words) I have a table two tables: - Products (P_ID...
3 Jul 2022 by Dave Kreskowiak
You cannot use a LOOP expression in a WHERE clause. The WHERE clause expects to see only conditional expressions. You can build the SQL statement in a variable, use the LOOP clause to build up a WHERE clause with multiple OR expressions, then...
22 Apr 2022 by lalli307
Given an array, find the average of values in the array that satisfies the below condition. condition is, element value and the number of times that element is present in the array must be the same. Note:1) if no element is satisfying the...
22 Apr 2022 by CPallini
Your approach would work only if you keep track of already visited numbers, e.g. #include #define MAX_N 100 int main() { int n, arr[MAX_N]; int skip[MAX_N]; // this is used for skipping already visited numbers int sum = 0; int...
21 Apr 2022 by OriginalGriff
A better approach would be simple: sort the array - C includes the C library function - qsort()[^] which will help you with that. Once sorted, all identical values are side by side - so counting identical values becomes trivial - a single pass...
5 Feb 2022 by Graeme_Grant
You are looking at it backwards. The GridView, as the name implies, is a view into the data. So you filter/search the data and display the results in the GridView. UPDATE I did a quick Google Search and found this: Search records in GridView...
5 Feb 2022 by Tinsae Teku
Most search features of grid view in ASP.NET shows how to search data from a data list that is connected to a database. But my data in my gridview is list of name of books from a folder. It uploads files from folders and save them on visual...
11 Jan 2022 by Member 15127345
I'm just starting out my journey in Swift and I have a task to do that I need help with. First, I have to create a data model and an array: Quote: City model object should contain: id, name, description, latitude, longitude, list of keyword/tag...
11 Jan 2022 by Richard MacCutchan
I am not a Swift programmer. However, after reading https://docs.swift.org/swift-book/LanguageGuide/ClassesAndStructures.html[^] I would make the following suggestion. The task is to create an array of City objects, not strings of city names. So...
27 Oct 2021 by Abdullatif Art
am trying to find the average number of comparisons in linear, binary, and Interpolation search and I found that by using this (log2(log2N)) we can find the average number of comparisons in interpolation but I could not represent this...
27 Oct 2021 by phil.o
If log2(N) = log(N) / log(2) , then log2(log2(N)) = log2(log(N) / log(2)) = log(log(N) / log(2)) / log(2)
24 Aug 2021 by Luc Pattyn
Three comments: (1) A crucial part of the code isn't shown: when you enter a post. you fill array newpost[] and then call Bloggen.Add(newpost); which is a black box to us. When you search a post. you basically scan a post[] array, so we must...
24 Aug 2021 by tgviee
I'm currently needing help to implement a search function within my (first ever) program, primarily a Linear Search-algorithm and potentially a Binary-algorithm as well. I've been reading through a ton of guides and tried different sorts of codes...
24 Aug 2021 by OriginalGriff
Getting it to run not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the...
3 Aug 2021 by navjot kaur 2021
Read the data into a Binary Search Tree (BST) What I have tried: i. Read the data into a Binary Search Tree (BST)
2 Aug 2021 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
22 May 2021 by Casper Josiah
I'm trying to write a binary Search tree to a text file in sorted order, my write method is in my BST class. When I print out the BST in Order Tranversal it works perfectly. When I try to write it to a text file it works but the current node...
22 May 2021 by OriginalGriff
The first thing to notice is that when you construct a FileWriter instance with just a string parameter, it always overwrites any existing file. So if you want to have more than one node in your file at any time, you either need to use the...
1 Apr 2021 by Arctype SQL
How to use full text search and the match keyword to find a string in every table in a MySQL database
14 Dec 2020 by OriginalGriff
Talk to the API providers: they will know a lot more about their code than we will, and should be able to help you a lot quicker and more thoroughly.
4 Oct 2020 by Johnny Sins
i have a search text box. Now if i search -------------- | Californa 87| --------------- The Location and Location Number. There will be no output in my datagrid view. int i = 0; dgv_bene.Rows.Clear(); ...
4 Oct 2020 by OriginalGriff
For starters, don't do it like that! Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead. ...
11 Apr 2020 by Blazin 3330
So I am trying to learn javascript, but I cannot find a tutorial that will allow me to search a text file using a string. I am wanting to search a text file at: constant path = "./data/data.txt" And I want to search for `${server.id} prefix: ` I would then want to store the full line (as...
9 Feb 2020 by F-ES Sitecore
You can't read files using javascript. If you google how to use the html5 file api you'll find lots of examples of accessing files via the "file" input component, but that requires the user to explicitly select the file to be searched through. ...
27 Jan 2020 by Patrice T
This is not a programming problem, it is about a mathematical algorithm. Quote: I have an N-dimensional distribution that resembles the Dirac Delta Function (there is a single narrow peak in an otherwise uniform distribution). My sampling cost is very high, so I want to minimize the number of...
27 Jan 2020 by Member 14727212
I have an N-dimensional distribution that resembles the Dirac Delta Function (there is a single narrow peak in an otherwise uniform distribution). My sampling cost is very high, so I want to minimize the number of samples required to locate the peak. A grid search would be sufficiently...
27 Jan 2020 by Member 14727212
What I think I'm going to try a sampling method similar to that used in finite element analysis. FEA uses a grid sampling method and starts by zeroing out everything but the diagonal. With each iteration, the diagonal is widened by one row. I think that this is going to minimize the number of...
27 Jan 2020 by CPallini
I see no way other than random sampling. There is no smart way to locate a point on a straigh tline.
16 Jun 2019 by Maciej Los
Take a look at your code: DateTime d1 = new DateTime(2019,05,26,21,43,24); DateTime d2 = new DateTime(2019, 05, 26, 5, 32, 42); d1 is bigger than d2, so... this condition: ShiftStartDateTime>=d1 AND ShiftStartDateTime
16 Jun 2019 by Member 14089908
Hello, I have a little problem, i want get all records in datatable between two dates and time. Please look at the code bellow. I want to get all the records between "25/5/2019 21:43:24 PM" AND "25/5/2019 05:32:42 AM". What can i do please advise. Thanks in advance. What I have tried: ...
14 Jun 2019 by Gabriel9999
I have a project related with Google Dork. I need to search multiple things in a single search with the terms like search txt files in given domain only. What I have tried: I have a project related with Google Dork. I need to search multiple things in a single search with the terms like search...
14 Jun 2019 by Patrice T
Quote: How to search multiple terms in Google? Have a look here: Google Advanced Search[^]
22 May 2019 by nezar78
how can I send private msg plz to someone here What I have tried: how can I send private msg plz to someone here
22 May 2019 by Thomas Daniels
If they left a message in a forum, you can use the 'Email' link next to 'Reply' to send something privately. But if they disabled the 'Email' link or do not have a forum message at all, then you can't.
23 Apr 2019 by Dharmesh Barochia
Recommended best practices for finding and removing Duplicate Text/Documents
8 Apr 2019 by #realJSOP
google dork multiple search terms - Google Search[^]
30 Mar 2019 by Member 14017552
C#, Windows Forms - I did almost 90% of the problem but Search Button is not working! Given Access file with the data (below). I need to build a program (GUI application) that uses LINQ to get data from the database file called (students.accdb). I need radio buttons to select and search by last...
30 Mar 2019 by OriginalGriff
Instead of searching, use filtering of your original data. It's easy enough to do: private BindingSource displaySource = new BindingSource(); private void frmMain_Shown(object sender, EventArgs e) { DataTable dt = new DataTable(); using...
24 Feb 2019 by Mehdi Gholam
Smallest full text search engine (lucene replacement) built from scratch using inverted MGRB bitmap index, highly compact storage, operating in database and document modes
8 Feb 2019 by NoorKaximi
hi experts, I am trying to find some information regarding building a play store keyword research tool. I googled it but i am unable to find some valuable resource can some tell me from where i can start and what does it require? my preferred languages are c#,php, node.js What I have tried: i...
17 Jan 2019 by Richard MacCutchan
You already posted this message at Getting CORS error in MS edge browser while calling azure search from my custom application[^]. Please do not repost.
5 Jan 2019 by DaveAuld
Do a quick search would suggest the only keyword data you can work with relates only to your own apps in the store. Google Play Store Install Keywords Official Data Now on AppTweak! (for everyone) - ASO Blog[^]
5 Jan 2019 by Dave Kreskowiak
Unless the Play Store exposes this search data somehow through the Play Store API, you've got no shot at making this work. I have no idea if it does or not, but I don't see a reason why Google would expose it.
25 Dec 2018 by el_tot93
i get the solution with this code i hope it help anyone private string CreateSqlFilter(string fieldName, Control userInputControl, SqlCommand command, bool exactMatch) { string searchValue = null; if (userInputControl is TextBox) searchValue = ((TextBox)userInputControl).Text; ...
25 Dec 2018 by el_tot93
Dear: friends please if you have time to solve my problem i have many textbox in my form with one button and one datagridview i use this code to make the search DataTable dt = new DataTable(); if (txtCIVILIDD.Text.Length > 0) { ...
24 Dec 2018 by Richard MacCutchan
You need to check all your textboxes first. Collect the text entries and build your search statement by combining the values to match the relevant fields in the database. For example you could do something like: StringBuilder sqlcommand = "SELECT * FROM tabl1 WHERE "; if...
24 Dec 2018 by OriginalGriff
Not like that! Never concatenate strings to build a SQL command. It leaves you wide open to accidental or deliberate SQL Injection attack which can destroy your entire database. Always use Parameterized queries instead. When you concatenate strings, you cause problems because SQL receives...
12 Dec 2018 by Albert Sbnie
(function() { var cx = 'CXXXXXXXXXXX'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src =...
12 Dec 2018 by Nuha IT
Hi,I have a textBox in the index page and I want it to take the value from this text to the google search engine in another page.how can i pass this variable from control to the cse?This is the index code for passing the variableResponse.Redirect("Search.aspx?parma=" +...
11 Dec 2018 by Afzaal Ahmad Zeeshan
Quote: I need to search one directory (c:\K_txt) of almost 3,000 .txt files Searching this on the fly is a really very bad idea, and would have to make your users wait each time they make a change in the query. A good approach would be to read your files once, and create tokens (words, in...
11 Dec 2018 by Member 13698711
hi, I am not good with coding - in vb.net, I need to search one directory (c:\K_txt) of almost 3,000 .txt files for either a word or exact phrase that the user enters, and then load up a listbox with the names of those txt files that contain the word or phrase. Then when the file in the listbox...
11 Dec 2018 by RickZeeland
See answer here: How to search specific string into text file from VB.NET[^] And here: VB.Net 2005: Search specific word in text file within a directory-VBForums[^]
11 Dec 2018 by CHill60
You could adapt the technique used in this CodeProject article File Searcher in C#[^] or this one WinSearchFile: how to search files on your PC[^] Or the techniques discussed here .net - c# Fastest string search in all files - Stack Overflow[^]
27 Nov 2018 by Ajcek84
Using locality-sensitive hashing algorithm to improve performance of searching of musical incipits
24 Oct 2018 by Joy1979
Hello Friends!!I have window Form with 'text box' for display and 'command button' to find customer number.Can you please help me how to perform search command in Vb.net?Im using SQL Server 2008r2 as my Database.... i Can now Connect to my Database, and insert some of my records with...
15 Oct 2018 by MUHAMMAD HARITH
I developed the store locator using open street map and leaflet. The problem is when I want to type in searchbox it will become lagging to finish the word. That store locator read from the CSV file that has 300++ data. Below is the code for the searchbox: var locationLat = []; var locationLng...
23 Aug 2018 by Akshay K. Bura
I am using PDFKit to display my pdf files. I've integrated the searching functionality but I want to search only bold texts/words. I'm wondering is it possible to do what I'm looking for or does Apple don't allow it? Because String data type is from Foundation class and UIFont is from UIKit. I...
8 Jul 2018 by Member 13903102
You are given a string S of lowercase English letters with length N. You are allowed to (but don't have to) choose one index in this string and change the letter at this index to any other lowercase English letter. The cost of this operation is the absolute value of the difference of ASCII...
8 Jul 2018 by Member 13903180
This is a question from on-going challenge, I don't think it is appropriate to ask it while the challenge is going on.
8 Jul 2018 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. Try it yourself, you may find it is...
8 Jul 2018 by Patrice T
So, you show no attempt to solve the problem yourself, you have no question, you just want us to do your HomeWork. HomeWork problems are simplified versions of the kind of problems you will have to solve in real life, their purpose is learning and practicing. We do not do your HomeWork....
12 Jun 2018 by Eric Lynch
There is some discussion of various methods to parse HTML documents here to get you started: String to HTML Document[^]
12 Jun 2018 by Member 12268183
Hello, I would like to create an application that could read an html file. Then I would like to search desired strings and get the data to text edit elements using C#. Could you please help with any example or tutorial? Thank you! Regards What I have tried: WebClient client = new...
29 May 2018 by Michael Dodaro
Use Bing SDK to send a POST request for Image Insights
22 May 2018 by Arunprasath Natarajan
Save the cookies based on the subdomain and use the same. I got the solution on my own.