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 Title

Search 

1 Nov 2014 by vn12
Hello.i want to make a search box with a button field.When user enters an alphabet in the search box and press the button then it should show items from array starting with that alphabet into a listview..suppose i have a brand array...
1 Nov 2014 by Richard MacCutchan
This is the fourth time you have posted this same question, and you have been given a number of suggestions to try. It is up to you to make some actual effort.
9 Oct 2013 by Joseph Basil
Hi all,I have a active directory search in my project and works fine when i run from visual studio. But when i host the same in IIS it does not work. Can anybody please help?The following is the code i useSystem.DirectoryServices.DirectoryEntry entry = new...
10 Oct 2013 by Joseph Basil
Actually the domain name it took a different one when i run from Visual Studio and a different one when i run from IIS.I identified it and got it cleared.Thanks all for your comments
24 Mar 2013 by Zain ul abdeen
I've a textbox in my forum I want user to enter text and my textbox searches that like If user enter "A" a dropdown list should be visible where all things starting from A should come from my database
24 Mar 2013 by himanshu034
Fill dropdown on textbox selected index changed. Write a SP which use a where clause.example: where dropdowntext like 'A%'Hope this will help you..
24 Mar 2013 by codeninja-C#
Hi,refer this link,Auto Complete Text BoxRegards,SJ
20 May 2011 by hebaSaleh
Hi All ,I am trying to write the advanced search query , that allow the user to enter as many filters as he/she wish ?This is the query that i use , the problem is that it require the user to enter all filter to work ,i need it to accept any collection of filters , I appreciate your...
20 May 2011 by Abhinav S
A similar question[^] was asked earlier - maybe answers from that can help you.
27 May 2011 by UziTech
You can dynamically create the query like this... if(doctor_info.reg_num != ""){ q +="AND(educaation.reg_num = doctor_info.reg_num) "; }...ORYou can set up the where with LIKE instead of =... q...
10 Apr 2012 by chandel123
if(doctor_in...
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
27 Apr 2016 by Nn133
Hi I am into a homefinder project that should have an advanced search filter. It should have 3 dropdownlist from where the user can select rent amount, location, and gender type or the user can also Not select any bcause it has default value "ALL" which leads to showing all the houses stored n...
27 Apr 2016 by CHill60
Assuming that you have a SqlCommand object which I will call sqlCommand and your 3 badly named comboBoxes are in order c1 - rent, c2 - gender, c3 - location (I'm using the shorthand because I could not be bothered to create 3 comboBoxes on my sandbox form)Firstly you need to know which, if...
25 Sep 2012 by nagiub2007
[Image]i have fields in database i want user can search in all fields or any combination of fieldsand but the opertors he or she want (AND,OR) but it make me confused in generating codeor query notice :user can search in from one fields up to all fieldsbut he must enter operator...
25 Sep 2012 by bbirajdar
Your problem is that you are 'confused'. Since this problem is not technical or related to code, I can't help you on this. And yes, regarding the code, I can suggest you to use parenthesis to enclose the operands and operators wherever you feel to make the code readable. Also remember that the...
13 Feb 2017 by SanalSundar
I have lot of entities which contain thousands of records, with diverse values like some have ranges using BETWEEN numbers,some with IN variable having multiple values in it, some with LIKE variable containing multiple values of different data types such as integer, string & decimal. For example...
13 Feb 2017 by Patrice T
Quote:Please do suggest which algorithm will fit the bill to correctly identify a given record(s) based on the set of values provided.You are in the worst possible situation, the flat text data imply the use of brut force. The name of fields in every records make it even worse the CSV...
14 Jun 2013 by malindu12
Hi,I try to apply list search view form mywebservice. I got web service data into app list view and its work. But my search doesn't work. I used same as code...
30 Oct 2014 by vn12
hello,m making an android application in which i want to implement a search box with button.If i put value like AB and press the search button then it have to show all the values from my item array starting from AB in a list.. m not getting any idea to do so..can anybody plz help me??:(
30 Oct 2014 by Peter Leow
Check this out: AutoCompleteTextView[^]
15 Mar 2012 by ea_soft
I need script when enter any world search in Google any take URL any forum and i will enter some meta and it take any id for forum likeSearch in GoogleInurl:vbit Take result FroumAndEnter Forum Automatic And Take IDLikeSoftware 5Games 6Mobil 10and I will enter the World...
18 May 2015 by Sriram Mani
Hi all,Has anyone ever tried to integrate Google Image search within your website such a way that when you make a search by image, all the similar or same images within our website would be displayed as the result?Like upload an image + site:your website in Google Images search.Click...
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...
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...
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...
5 May 2015 by Rritesh Ravlani
Hi,I am using Azure search where it creates index on my database tables and shows results as expected.Now I have a requirement where I need to find-out what are the words or items users have searched most or what was the pick time for search?Is it possible to find any such reports...
15 Mar 2013 by johngorman1
I'm starting a new application to search a text file with up to 12000 items for a given term and also allow a depth to be specified.My application requirements are as folllows:A word search tree that allows:1.Parse a text file and build the tree.2. Allow a depth to be specified3....
15 Mar 2013 by Sergey Alexandrovich Kryukov
Thank you for clarification of the question. In this case, you really need to implement one or another kind of a search tree:http://en.wikipedia.org/wiki/Search_tree[^],http://www.drdobbs.com/database/ternary-search-trees/184410528[^].For space efficiency and simplicity, a ternary search...
5 May 2016 by Kishan Sojitra
I want to search a words or string from millions of excel files. And I want rapid searching!So how is that possible and using which tools?Search will be global.I have no clue about this type of Indexing and Full text searching.Please advise me for Best options available to add this...
5 May 2016 by CHill60
You've stated that you don't want to use SQL Server but a database would certainly be a good way forward. PostgreSQL might be your best option - see PostgreSQL: The world's most advanced open source database[^]Alternatively you could use a file text search - there are some suggestions on...
5 May 2016 by AnvilRanger
This is not an easy problem to solve. You mention that you don't want to use SQL, so we can assume you want to look at the actual contents of the Excel file. If you are talking about physically searching the contents of millions of Excel files then you are going to to have to wait a long time....
28 Sep 2014 by suleman115
Hi i am implementing binary search in c#, here is the codeint[] a={1,3,4,5,7,9,10};int max=6;int min=0;int target=1;while(max>=min){ if((max+min)!=0) { int mid=(max+min)/2; if(a[mid]==target) { Console.Write(a[mid]); min=max; } ...
28 Sep 2014 by gopesh2010
Try removing equal from while(max>=min)So change while(max>=min) to while(max>min)
28 Sep 2014 by suleman115
I should just make the min=max+1 when i find target, here:int[] a={1,3,4,5,7,9,10};int max=6;int min=0;int target=1;while(max>=min){ int mid=(max+min)/2; if(a[mid]==target) { Console.Write(a[mid]); min=max+1; } else if(a[mid]>target)...
1 Jun 2011 by movies123
Hello everyone, Recently i came across an article on this site which explains the using of Bing API to make a search via WPF application Basics of Bing Search API using .NET[^] I tried to develop my own application and everything went well till i hit the part of...
29 May 2018 by Michael Dodaro
Use Bing SDK to send a POST request for Image Insights
20 May 2011 by Apriorit Inc
This article describes the development of the library for performing text search based on Boolean search queries.
1 Dec 2016 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...
1 Dec 2016 by Patrice T
We do not do your HomeWork.HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them. Any failure of you will...
13 Dec 2013 by SubhamSoni123
How how I start building a search engine? Web Crawlers , Indexing . What tools would I require? Where should I start from?Using JSP is better or Python?
13 Dec 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Every technology has it's own advantages. You need to decide which one to use according to your command over the language and it's components.Go through How to create search engines like google?[^] and read the answers to understand how to start.
17 Jun 2015 by Member 11774342
Hi,I am trying to build a search engine which uses crawler to fetch documents from any website. I developed an interface but unable to use crawler to fetch documents. Please help me out?Thanks
20 Oct 2017 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.
15 Oct 2017 by Patrick P. Frey
This tutorial based on a docker image will guide through the development of a simple search engine based on Strus (project-strus.net), a collection of libraries and line tools for building a search engine.
26 Jan 2012 by skyforever
Hi all,I need to create a document store with search capabilities. Sounds simple... That means that I have documents which I need to store in database. I thought about CouchDB, and about few other document-oriented databases, but I'm still not sure what would be the best solution.On...
16 Feb 2015 by Member 11456611
So i have an array for example 4,3,17,5,1,2and the output should be: 17-1=16 since it is the max difference between the numbers.i figured it out how to do it, but what I don't understand is, why my teacher is telling me to sort the array and to apply binary search, it should be O(nlogn). I...
16 Feb 2015 by KarstenK
Sorting algorhitm have different complexitiy. In the wikipedia you find some explanations.If you have sorted data you can take the first and the last element. And you are done.Your teachers wants you to learn about it. :-O
11 Nov 2011 by vegazbabz
Hi,Now I have spent several hours trying to work something out and googling around and reading forums, but I have not found my answer!I need to make some kind of "business application" as a project in my school, where I need to keep overview over a company's customers.I am using...
11 Nov 2011 by saharkiz
since security is not an issue for such a project.i suggest you construct an sql statement using string formatting or concatenationcreate a dataset, add a table to it and append data to the datatable for each of the tables you search for and then bind it to your grid.
16 Aug 2016 by Maciej Los
I'd suggest to read this: Windows Search Data From Database and Filter in Datagridview sample in C# for Visual Studio 2012[^]Such of functionality is pretty easy to achieve:Get data from SqlDataReader into DataTable object (use Load method[^])Provide functionality to get single record...
3 Jun 2011 by Member 7975239
I am trying to find a file in a zip file by comparing the name and/or to see if it exist in the zip file. I am using ICSharp SharpZipLib and I am having trouble trying to figure out how to get it.I am wanting to find the file because if I find it in the zip, I want to delete the file from...
3 Jun 2011 by Ruard
Check the documentation and example code on the SharpZipLib wiki. I think these two links are useful:http://wiki.sharpdevelop.net/SharpZipLib-Zip-Samples.ashx[^]http://wiki.sharpdevelop.net/SharpZipLib_Updating.ashx[^]Mainpage for SharpZibLib on the...
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...
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...
16 Dec 2014 by Member 10587827
Hello,here is my code for search criteria; string[] filepaths = Directory.GetFiles(@"c:\data\", textBox1.Text + ".jpg", SearchOption.AllDirectories);there is a textbox on my form. All i need is when i write something in textbox(like "test"), when i click on search button, see all...
16 Dec 2014 by Maciej Los
It depends on many factors...If you would like to search only C:\data\ folder, you don't, but if you would like to provide functionality to change searched drive/folder you need to use FolderBrowserDialog[^].
16 Dec 2014 by Afzaal Ahmad Zeeshan
Yes, you can use the OpenFileDialog to achieve this, and set the InitialDirectory to the directory that you first want to search for, but there isn't a "Name" specific search, only extension specific search can be made, like searching for an Office file or a Web document etc. However, if I...
16 Dec 2014 by OriginalGriff
"should i use openfiledialog? how should i use it?"No - the array of strings filepaths will contain a collection of full paths to the files: OpenFileDialog allows the user to select which file(s) he specifically wants to open. You can't provide it with a list of files for him to pick...
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 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...
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...
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; ...
22 Aug 2012 by rtz87
how can i write a program in c# that searches for a string in a string array using binary search technique.with linear it was pretty easy but with binary search it becomes complicated.the only hint i got was that the list has to be sorted first.i completely have no idea how to achieve this.pllzz...
22 Aug 2012 by Kenneth Haugland
There are a couple of good articles about it on the codeproject site:http://www.codeproject.com/search.aspx?q=binary+search&x=13&y=9&sbo=kw[^]If you cant find anything here you should have a look at Google[^]. In the future you should try it yourself first, before you ask :)
22 Aug 2012 by ridoy
http://www.dotnetperls.com/array-binarysearch[^]
2 Mar 2013 by osamadaku
HiI'm building windows form application in C#i have 3 tables in the databse database in which "PID" is common colum column name in all the tables"I need a search query which search from multiple tables Across the Sql database?"
2 Mar 2013 by Shobhana.n
You can use inner joins on PID colom and can create search query.
2 Mar 2013 by Mostafa Metwally
If you have A relationship Diagram between them use:- select ...,...,...,... from table1,table2,table3Without a relationship Diagram use inner join:-select ....,...,....,.... from table1 inner join table2on table1.PID=table2.PID inner join table3on table2.PID=table3.PID
21 Feb 2012 by bcasillas
hii have thousands of pdf files in one server and i want to develop and internal web application to search some words inside each file....one week ago i did a dll for this (using itextsharp), but it take a long time to receive a response (15 minutes aprox.)what can i do to improve...
21 Feb 2012 by Richard MacCutchan
I would think that you need to create an index of all the words in your files so you can do speedy searches. You could do this immediately by scanning all files or build it up gradually by creating it as each search is processed. Unfortunately the second option will still mean that early...
30 Jul 2015 by Win32nipuh
I'd like to use IFilters to extract text from many filetypes.It is possible, but:I cannot call default pdf IFilter in Windows 8 and Windows Server 2012: glcndFilter.dllIt gives me an error.Also, Filtdump.exe gives an error on it too:Failed to CoCreate ILoadFilter instance, hr...
30 Jul 2015 by Mohammed Ibrahim.L
Implementing a TextReader to extract various files contents using IFilter[^]Check this link
29 Apr 2017 by Member 13161564
I have a Binary Search Tree, some functions in it, not planning to use any other libraries, nor use vectors, I have to use arrays and a tree. This code will mostly work, except for a bug, that for some roots, the functions that add arrays wont work or the printing functions wont work. Basically...
29 Apr 2017 by OriginalGriff
Development is not a case of "write it, compile it, fix compiler errors, compile it, ship it" - just compiling does 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,...
29 Apr 2017 by Patrice T
Quote: No errors, compiles fine. "Compiles fine" means that your code is correct C++, it does not mean that it does what it should as "no error" would mean. "The cat is flying high in the sky.' is correct English grammar, but it is non sense. Quote: Tried debugging, but I'm a novice and it got...
12 May 2012 by smrizvi1
I have a Books.txt file which looks like this. Book name---------------AuthorLord of the rings---------J. R R TolkiensTom sawyer--------------Mark twainJust after sunset---------Stephen kingThe shining--------------Stephen kingOliver twist------------Charles DickensHuck...
12 May 2012 by Richard MacCutchan
You could read the file into a hash_multimap[^] and then do a lookup based on the author name as key, but this will be limited by available memory. You may be better advised to use a database of some sort such that you can add, delete and update records as books are moved around. However, given...
18 May 2012 by smrizvi1
Alright, now this is what i have. I have used the approach of bubble sorting then binary searching. what i want to do now is to search a particular BOOK from someone without using the bubble sorting or binary searching method and instead search all the records one at a time, from start till the...
17 Mar 2013 by Sloka Roy
How to process crawled data using an external SOAP service call out in content enrichment pipeline.
4 Feb 2014 by QB101
Hello, is it possible for a website to receive a command/word from the user, and then search other websites for a file associated with that word? The file it provides back would be based on selecting the file based on a set of pre-defined criteria. So the site would have to perform...
10 May 2013 by johnmolo
I have looked at a few Youtube tutorials on how a breath and depth first search work on a graph but I'm still a little confused.Does anyone have a very simple explanation of the searches possibly a useful video on them or any tips on how to understand it?Thanks in advance.
10 May 2013 by OriginalGriff
The first place to start is Google, which lead me straight to Wiki:http://en.wikipedia.org/wiki/Depth-first_search[^]http://en.wikipedia.org/wiki/Breadth-first_search[^]The depth first is easier than breadth first, but that is to be expected - it's a lot simpler an algorithm.
10 May 2013 by Yuriy Loginov
The way I try to look at Breadth First Search is that you try the immediate possibilities first. Depth First you stick to one path until you hit a dead end and then try a different path. Say you are in a room with two doors that's inside another room with two door and you need to find an...
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 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....
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 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.
20 Feb 2012 by Rajeev kr
Can anyone help me out for coding a search box where search result will be from database & page contents both..........I dont want to use google customized search & bing customized tooo....Also dont want to go for "indexing & seraching" method.using Visual studio 2010 & MS...
20 Feb 2012 by senguptaamlan
if you are going to have data search then you can use SQL queries / procedures, but in case you are going to implement content search, then you need to go for indexing framework (http://incubator.apache.org/lucene.net/[^]).
22 Feb 2012 by Rajeev kr
Thanx for reply But i didnt get how to use lucene.net project for my search workI visited the link tried to get into head but didnt go.Plz explain a little.Thanx in advance
14 Aug 2011 by Richard MacCutchan
You do not mention which language you are using but the issue is the same in logical terms:1. get the text from the search box2. append that text to the constant URL3. send the URL to your browser, external or internal
14 Aug 2011 by Sethron666
I want a small search bar that when you enter a word into it, adds that word to a very specific url code.Example: Search box says: danaraUrl it goes to is > http://example.com/tagged/danaraI don't know how to do this and I'm not sure how to search for the answer; I've been looking...
18 May 2012 by smrizvi1
Hey everyone! i stuck here with a thing. I use this code in visual c++ to search a book by its author. I have used the approach of bubble sorting then binary searching.Alright, now this is what i have. what i want to do now is to search a particular BOOK by its author without using the...
18 May 2012 by smrizvi1
i have seen this version which resembles what i want. can anyone change it to my requirements please?struct book // declare book class{ int no; string author; // type name of string string book; // type name of string string topic; // type name of string ...
18 May 2012 by Maximilien
".... instead search all the records one at a time, from start till the end for its author. I think the improved approach will make the coding a lot shorter than it is now..."?If you do not want to sort and search, you can simply loop (for, while) over all your books and just list the...