Most voted "quest" questions
Questions about a search algorithm or its implementation. *NO* for questions about using search tools within an API (e.g.: Google, Bing, Facebook).
Learn more…242 questions
Sort by count of
-
2
votes2
answers66
viewsHow can I find out which packages/libraries belong to the functions of a routine written in R?
I have stopped using several routines because programmers do not tell what packages/libraries the functions that are in these routines use. I know that many of these functions are authored by the…
-
2
votes1
answer90
viewsSearch all table fields in an Action
I would like to know how best to prepare a query that searches in all fields of a table. Let’s say I own a news site, and on this site I have a input for Search in my template. When entering the…
-
2
votes2
answers346
viewsSearch in mysql database with multi-level php
I’m trying to perform the following query in the database, through an html form, only in php I’m only able to fetch all the data from my table. In case the user would choose the type of filter and a…
-
2
votes1
answer104
viewsMysql table with lots of data
Case in point: I have a system with approximately 5 million records, it is recommended to use a single Mysql table to save, for example tabela_empresas_brasil? since every time the user performs a…
-
2
votes1
answer881
viewsJavascript search
I have a search system that presents the problem: - Returns all values of a list, when deleted element from the search field, expected to return only the initial elements, not all. This is the…
-
2
votes0
answers64
viewsFilenotfoundexception being launched in Twitter search - Java
I have an algorithm that does a search of old tweets on Twitter between two dates. My goal is to return all tweets. The code was as in this question posting (may serve as a parameter) a few days ago…
-
2
votes1
answer46
viewsSQL Search - Results not duplicated
I am wanting to return a database query without repeated data. The table is called Wps_history and contains the following columns: id user_id adm_user_id type user lancamento data valor saldo reason…
-
2
votes1
answer1525
viewsIs it possible to search a data in the database without knowing which table it is in?
I have a banco de dados very large and it is impossible to build a SELECT * FROM for each table and locate the data I need. It is a texto especifico ('with as parameter 23') I’ve searched every way…
-
2
votes1
answer228
viewsSearch View without having to click enter to show the result
made a search on my list however it needs me to click enter to complete the search and show the results. I would like the result to come automatically when typing. Thank you. My code: ........…
-
2
votes1
answer188
viewsnome.exe has stopped working. I can’t fix this
My C code gives a crash displaying following po error: filename.exe has stopped working I don’t know how to fix it. Follow the code I’ve already made: #include <stdio.h> #include…
-
2
votes1
answer136
viewsSearch the Mysql MVC database
I have a Search which searches by name, but wanted it to search both by name and by place in the same research field. Follow the action: [HttpPost] public ActionResult Search(FormCollection fc,…
-
2
votes1
answer522
viewsCompare files from a directory with md5sum and shellscript
Good morning! I am studying shellscript and an exercise asks for a scan of files in the current directory and to calculate the md5 hashes. It also asks that, in case there are identical files by…
-
2
votes1
answer1671
viewsShell Script for file and directory localization
I wish someone could help me to create this script correctly, in this case it is to create a script that Oce type the name and directory of a file and then indicate whether it was located or not and…
-
2
votes2
answers78
viewsSearch script does not return results or errors
Well, I created a search script in PHP, however, it does not display results, and also does not display errors. Phomularius <form class="navbar-form navbar-right" method="post"…
-
2
votes1
answer104
viewsSearch in multiple tables
Hi, I’m trying to search 3 different tables, check my code: $buscando = $pdo->query("SELECT * FROM filmes WHERE nome LIKE '%$busca%' AND status='ativo' ORDER BY nome ASC"); The tables would be:…
-
2
votes0
answers54
viewsSearch filtered (by Label blogger)
Hello, I’m having Problem in a blogger search system. The problem is that I want to filter the searches by Label. <form action='/search' class='navbar-form navbar-right' id='searchthis'…
-
2
votes1
answer999
viewsHow to search for an element in a structure vector?
Good night! I am doing a work in C where I have to look for doctors by specialty, that is, I ask the user the name of the specialty to look for and I make a printf of the doctors of that specialty.…
-
2
votes1
answer157
viewsHow do I remove everything after the first word?
How to remove everything after the first word on each line in a text file containing the character pipe? It works for removing simple/common characters, but has not worked to remove the character |…
-
2
votes0
answers84
viewsSystem search using Angularjs and java
I have a Java back-end: JPA, Hibernate. Entities working correctly, I even have a class Searchresource @Path("/search") @ApiDefinitionBase @Produces(MediaType.APPLICATION_JSON)…
-
2
votes1
answer48
viewsfilter list of registered assets by room
I’m doing a heritage system, where I can register a heritage and link to it a room. In this system I have a tab of reports, where I have a field that I must type the name of a room and a button to…
-
1
votes1
answer70
viewsSet post_type search widget
I have a question about how to define the parameter post_type for the Wordpress search widget. The widget is displayed in the page header. I am currently using the following code: echo the_widget(…
-
1
votes1
answer157
viewsHow to get the records found and not found via IN
I have a simple command SELECT MATRICULA FROM ALUNOS WHERE ID_ALUNO IN (1,2,3,4,5,6) I would like to know how to get via SQL a result like this: ID| STUDENT 1 | LUIZ 2 | MARIA 3 | 4 | JOÃO 5 |…
-
1
votes1
answer1162
viewsInsert Google Maps search bar
How to insert a search bar in Google Maps on Android? Need something similar to the image below: For this result, will I need to use Text and Overlay? Is there an example to help you understand?…
-
1
votes1
answer105
viewsSearch using Solr in Rails
If I search for a piece of a word other than the first characters of the word he doesn’t think. Like if I search for "Car" it searches correctly, but now if I search for "los" or "arlos" returns me…
-
1
votes0
answers132
viewsjoomla 3 - System SEARCH does not work
I’m trying to use the search system (search) joomla-3 but always ends up giving this error: TPL_SEARCH_ERROR_SEARCH_NOT_FOUND. Can someone tell me what it’s about and how I fix it?…
-
1
votes1
answer1266
viewsCustom search plugin with wordpress
Is there any plugin that makes it easy to create a custom search in real estate tracking for Wordpress? Model:…
-
1
votes1
answer1213
viewsSearch for "out of order" terms in PHP and Mysql text
I’m setting up a simple search engine for a paper bank at a student science event. Adapting codes of some guides I found on the internet the system is working all right. The only problem is that it…
-
1
votes1
answer279
viewsSearch query coming from a Dynamic form (Codeigniter)
I have a problem to build a QUERY that comes from a dynamic form. I have a search form in which the fields for search are dynamic (can be text or checkbox), or whenever a new field is added it must…
-
1
votes1
answer490
viewsTable Search JS or jQuery
I want to do a search code using a Regex for strings, and normal numbers, and that I use the columns and rows of the table. I’ve tried several hypotheses, but none of them make that "refresh" of…
-
1
votes1
answer425
viewsPHP Crawlers for external websites API Phpcrawl
Good evening person I’m new to the subject, I’m trying to build a search engine for external sites (indexer) with PHP, I found an API, which provides a Crawler, but it seems to only search for…
-
1
votes3
answers897
viewsSearch - Show Message if results are not found
I’m having a problem with javascript, I took a js that does the search in the table, but when there are no records it just shows nothing, how do I put a "Return" with some sentence when there are no…
-
1
votes2
answers161
viewsSearching a javascript array
How to search within a javascript array? The solution I use is a gambiarra. x = ['a','b','c','d']; if ( x.indexOf('a') != -1) { console.log('Verdadeiro'); } else { console.log('Falso'); }…
-
1
votes1
answer191
viewsSelect with Search conditions
I need to make a query where only display results in one condition: # Search the Database $select_sql = "SELECT * FROM users WHERE user LIKE :search OR date_access LIKE :search OR ip LIKE :search…
-
1
votes1
answer180
viewsSearching for names inside a text
I have a string where I need to search by name. The text has no pattern. The name list is an array. So far I have managed to do normally, but I have come across a situation where a given name had a…
-
1
votes1
answer46
viewsProblem making a field search by date and id
I made a field search however I am not able to search by date or id. The database I use is Postgres, I’m using Laravel 5.2 framework public function scopeSearchByKeyword($query, $keyword) { if…
-
1
votes2
answers960
viewsSearch inside the input and open another page
Hello, I’m creating a project in my computer course. I would like to know the best way to do a database search within an input, and open another search page. Note: I am using php, I used input and…
-
1
votes2
answers259
viewsHow to get search links in google using javascript
First of all, yes, I have checked the Apis provided by Google, such as Google Web Search (discontinued) and the new Google Custom Search, which from what I’ve seen works only for searches within a…
-
1
votes1
answer1685
viewsTips on how to make a search field with Wordpress
I need tips on how to create a search field in Wordpress, I have a little knowledge on the platform but still very limited and do not know where to start. The search field is composed of state, city…
-
1
votes1
answer763
viewsPersist search parameter in codeigniter paging
Hello, I’m making a search system for a store with codeigniter, paging is working, but when you change the page you lose the search parameter, I would like to know how to persist the search so that…
-
1
votes0
answers239
viewsWidth Search and Depth Search
I am studying for the Programming Marathon and I need examples of searching in width/ searching in graph depth
-
1
votes1
answer443
viewsHelp with placeholder that does not change color
Guys I really need your help. I am developing a website. So studying more precisely Html5 and css3 and I have a huge problem that I cannot solve... Here the format of the site in Codepen:…
-
1
votes1
answer37
viewsPrioritize keywords found in the title in the sql search
Hello, I have a table 'videos' with 3 fields 'name', 'Description' and 'categories'. When doing a search I want to appear at the top the videos that in the 'name' have more of these keywords, for…
-
1
votes1
answer191
viewsHow to search using regular expression in Delphi 7
In Delphi 7 when opening the search dialog box: CTRL+F and selecting the option: Regular Expressions would like to find everything that starts with the word Gpfield and ended with Isnull For…
-
1
votes1
answer41
viewsData search and comparison
I need to carry out a search and I wrote the following code to carry it out, but without success. I wonder if I’m doing it properly. public void AcessoCC() { int id = 0; Integer infoConta;…
-
1
votes1
answer588
viewsOwn blog search box does not work!
The Search Box doesn’t work, I type in the title of the text, the keywords, and all the words used in the text, and it simply appears that it has no result... I have tested several other search…
-
1
votes1
answer276
viewsHow to represent a matrix in Prolog?
I am doing a work on Prolog that consists basically of a search problem, there is a scenario in a two-dimensional environment and one must trace the path that one character must follow to get to the…
-
1
votes2
answers183
viewsLIKE does not work together with BETWEEN
Something wrong with this query? It is showing all the data without any filtering. But when I take the LIKEs It works or if I take the BETWEEN and leave the LIKEs it works. One works without the…
-
1
votes1
answer184
viewsSearch PHP + SQL does not find results without typing the "-" hyphen
Hello! I have a search for automotive products where the user can search for the company code, original code, product line, automaker or vehicle. This system is working if in the search field I…
-
1
votes2
answers1136
viewsPerform search inside javascript object and return value
i need to do a search inside a javascript object that brings me the sku according to size and color, vcs can give me a light? Example: I need to insert in a variable the product sku that has the…
-
1
votes1
answer194
viewsSelecting multiple fields from a table with a term in the query
I tried to follow some steps I found here in the bad forum did not work... I have this code here in the codeigniter model: // buscando clientes $this->db->like('nomeCliente',$termo);…