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
-
0
votes1
answer1055
viewsSearch View in a Listview
I am trying to implement a Search View in a List View of my project. I saw some tutorials but I could not implement any because there was always an error here and there by the peculiarities of each…
-
0
votes1
answer60
viewsselect two tables using Where
I have a table of produtos (id,id_categoria,nome,descricao) and a table of imagens (id, FileName, id_produto). I need to list product data and a product related table image by id. $sql =…
-
0
votes0
answers40
viewsI need that visual style
Hello! I urgently need help to develop an advanced search style like Zap Real Estate (in mobile mode). Is it possible to do it in pure CSS or are there Frameworks? I’m on hold! <script>…
-
0
votes1
answer51
viewsSelect only items that contain the number in their value
I have a table conversas: STRUCTURE +--------+---------+ | Nome | Tipo | +--------+---------+ | id | int | | users | text | | titulo | varchar | +--------+---------+ I need to select items that…
-
0
votes0
answers284
viewsRoute post ajax Laravel
Galera I have a search field by ajax in Aravel that works normally local but on the server it is returning error. When the search route (post ->…
-
0
votes1
answer119
viewsError in file code. c
I need to make a simple search engine. Just open one arquivo.txt, search for a desired word by the user, check how many times a word appears in the file and if it exists in the file. But this giving…
-
0
votes1
answer80
viewsHow to make a table in a scaffold Rails with the attributes of another scaffold
I’m having a hard time! I created a scaffold called a book and a so-called loan after I created a so-called report in the report I want to do a search for book loans I’m using Gem ransack to search…
-
0
votes2
answers726
viewsSearch PHP/Mysql (show only result exactly the same as typed)
php collects input data using POST method. It is connected right, is searching, but when typing the UF and Municipality it shows me not only exactly what I typed, but also the related! type typed SP…
-
0
votes2
answers625
viewsSearch in 2 fields at the same time
Eae, I have two fields in a mysql table, Description and degree. how do I do when I search type WORD and 4 ( being WORD from the Description field and 4 from the Grade field? a result appears? PS.:…
-
0
votes1
answer438
viewsCompare 2 Text Files, and find equal words
there is some tool that finds equal words in 2 different text files? example: arquivo1.txt pedra cavalo torre animal fogo arquivo2.txt garoto animal festa humano fogo outworking: animal fogo it is…
-
0
votes1
answer220
viewsHow to create a dynamic search box?
On this website - http://www.euescolhiesperar.com/ - when you type in the search box, the results appear instantly without being required to press enter. How can I do this in Blogger? Thank you!…
-
0
votes0
answers329
viewsSearch in Mysql with FULLTEXT IN BOOLEAN MODE including keyword operators?
How to make in BD Mysql, in an Innodb table with two fields indexed by FULLTEXT, a search is performed through the MATCH query (column1, column2) AGAINST('keyword' IN BOOLEAN MODE) including even…
-
0
votes1
answer38
viewsPlugin indication for wordpress search
I am building a project and I need a plugin indication to create a search similar to this, this site: http://www.fqmfarma.com.br/produtos Where the contents are separated with letters, in…
-
0
votes1
answer81
viewsSearch within MYSQL search results
I have a situation more or less equal to that: A table with the records, I need to do a search with two references, example select * from CARROS Where concessionaria= 'VW' or veiculo='VW' AND…
-
0
votes1
answer334
viewsProblems with binary search tree in C
Now reinstating my post more clearly (this is a continuation of my previous question). In the code, I try to create a binary search tree and insert elements into it. They must be saved in .txt.…
-
0
votes1
answer62
viewsHow to make an appointment to know the averages of people a day of a week
Hello, I would like to know how to make a query (Query) in the Oracle database to know: What is the average number of guests per day of any week. Below is the bank script: CREATE TABLE…
-
0
votes1
answer197
viewsHow to make a database query with multiple filters
I have this list of filters I can receive all her normal values in an array by get method, but I’m having doubts about how to do this search with several filters, I performed a filter for example…
-
0
votes1
answer139
viewsBinaria Search - complexity
Good afternoon, could someone help me with the discipline of algorithm complexity, to stopped in the question of binary search. Some can help me with the question below: Consider again another…
questasked 5 years, 8 months ago Marcio Ferreira 3 -
0
votes1
answer90
viewsBinary search tree in C
I need to use a binary search tree to organize data. In each node I need to have ID and name, but I don’t know how to put two values in the same node. The tree I’m using is as follows: struct No {…
-
0
votes1
answer37
viewsSearch data in BD when loading page
I am creating a search site and I have some links with certain categories. I need a system where by clicking these categories the loaded page can fetch the data in the BD and display. I know it is…
-
0
votes1
answer56
viewsJoomla with security problems in the GSC
We have a site in Joomla, on Google it started to appear with insurance, we Google security problems with strange Urls. We have seen that Google encounters problems with pages of this type:…
-
0
votes1
answer141
viewsError BD query (Codeigniter PHP Mysql)
Someone could help with this mistake? In BD I have the table Cities and I’m trying to list cities, I’ve made several changes and it doesn’t work. When listing cities I will improve the query, I have…
-
0
votes0
answers28
viewsHeuristica Admissible in Search A*
Good afternoon, everyone, I have a doubt regarding admissible heuristics, I know that for it to be admissible it is necessary that every value of h(n)<=H(n)* but I am still in doubt of how I…
-
0
votes1
answer31
viewsExtract part of email cell text
How can I extract part of the email after the last "."? On the first line, I get what I want. On the second line the problem is that it is extracting after the first point and not the last. With the…
-
0
votes0
answers19
viewsSearch and order of the elements
If I have a data set containing 50 elements, of those 50 I need there to be an iteration to show 10 out of 10, the first 10 and then successively. If within this same set with 50 elements I need to…
-
0
votes0
answers8
viewsDAX - Searching for keywords in sentences using DAX language in Power BI
I have a problem regarding DAX in Power BI. I need to categorize the locations according to sentences. I have mapped the keywords as image attached, but do not know how to search for them in the…
-
0
votes1
answer63
viewsFilter dates when user entered our system
I am trying to filter the dates when users connect to my system. Have a however, first need to filter so there are no duplicate users. I’m already doing it using the argument DISTINCT in my query,…
-
0
votes1
answer54
viewsPHP Mysql Search result
Good afternoon I’ve been trying to fix this for two days without success and I’d like your personal help :) The tables are as follows:: Chaves` ( idChaves int(10) AUTO_INCREMENT, nomeChave varchar,…
-
0
votes1
answer1973
viewsUse dropdown select in php mysql search autocomplete
I have this input=[text] with autocomplete that offers the title with a link (a href=) in the mysql database, but would like to create 'categories' to select the links that the autocomplete offers…
-
0
votes1
answer616
viewsSearching for separate words in the same string in Mysql
My question is relatively simple, but I couldn’t find an answer that would really help me: My user searches for a name in a form: Fulano Silva The record in my bank is like So-and-so of Tal Silva…
-
0
votes1
answer7835
viewsHow to do CSS and HTML search field
Hello good afternoon I would like to take some questions I’m starting to learn now , I have a problem to create a search field on my site , I would like a help . I’d like to put this search system…
-
0
votes0
answers407
viewsPerform wide search
I’ve got a job to do and I’m racking my brain to figure out how I’m gonna do the same. I must perform a wide search based on a .txt. The teacher sent part of the code (I’m just doing the main), I’ve…
-
0
votes1
answer43
viewsBreakpoint in Looktree paid function (Binary trees)
Boas, I have an error in the Lookuppaid function, when I try to delete a value from the binary tree nothing happens and if I try to delete the root of the tree I get the following breakpoint:…
-
0
votes2
answers7832
viewsHow to make a search filter
I have a query page that shows in table form the records registered in the bank through a form. Considering that there’s going to be a point where the system is going to have a lot of criminal…
-
0
votes0
answers972
viewsDeep search - python
import csv with open('cidades.csv', 'r') as f: list2 = [tuple(line.values()) for line in csv.DictReader(f)] def dfs_helper(list2, start_city, end_city): pilha = [] visited = [] adj_cities =…
-
0
votes1
answer42
viewsForce the user to type enter
In an excerpt of my code, I need the user to enter to continue the program, however the part where you should receive this entry is ignored. public void buscar_Aluno(){ //metodo que busca um…
-
0
votes1
answer44
viewsphp search with UNION - mysql_num_rows error
I am making a simple search system that brings only the amounts of results from the specified tables The problem is that it is causing an error due to the different tables and their lines. Check out…
-
0
votes1
answer1077
views -
0
votes1
answer108
viewsDoubt regarding the Minimax algorithm
The Minimax, by definition, is great if both players act great, right? However, can we say something when one of them plays great and the other doesn’t? In the case of the game of old, as the space…
-
0
votes1
answer34
viewsSplit search term to enlarge results and sort results according to the term
Let’s say I have a table called carros. In this table I have some registered cars. Ex: ID | Name 1 | Corsa Amarelo 2 | Camaro 2 Portas Amarelo 3 | Camaro V12 Amarelo 4 | Camaro Esportivo Amarelo 5 |…
-
0
votes0
answers98
viewsShow when no search result in database
In the SQL search, if you do not return the result, you will see a "No results found" message. Okay, when you search, you find a result and when you don’t have it shows the message - so far so good.…
-
0
votes3
answers550
viewsFilter data with INNER JOIN - MYSQL
Good afternoon, I’m new to the group I wanted to know where I’m going wrong... I have a database search like this ** SELECT * FROM Users INNER JOIN naturezanegocio ON Users.emaillogin =…
-
0
votes2
answers169
views -
0
votes2
answers60
viewsHelp with searching for information in an html with js/Node
i’m having trouble implementing a code. I’ve been helped at another time and now I’m needing it again. The goal is a script that helps me to remove from an html the name of teachers and the link of…
-
0
votes1
answer32
viewsResult Search not located
Good morning! I have two JS, one that emulates something similar to a database following the example: var menu; $(document).ready(function() { menu = new clsMenu(); var Exemplo01 =…
-
0
votes1
answer161
viewsFilter with SQL query from a combobox - c#
I am creating a stock program and I would like the item query to be filtered by a combobox, that is, when writing in the search field only the results related to the combobox parameter appear. This…
-
0
votes1
answer118
viewsHow to use date table bootstrap
I wanted to use this date table, to search a lot of database data. I could, but it takes 12 seconds to load the page. Because you have a lot of data on file. Someone has an example of how you could…
-
0
votes0
answers28
viewsLimit Search Box fields
Good morning, I edited a code for a search box, but I want to hide the options that appear in it. In this case, I want it to appear only when the search is matched with the exact references. No…
-
0
votes1
answer275
viewsQuery search android studio, firebase data listing problems
Could someone help me? The app recovers data from child("grupos") in debugging, but when I tie the knot, for example, child("grupos").child("nome"), the application of crash nor in debugging to see…
-
0
votes1
answer41
viewsError: . toLowerCase() is not Function No Pipe search Ionic3
Good afternoon, I created a pipe to search, but is giving the following error: My code: import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'search', }) export class SearchPipe…