Questions tagged as 'full-text'

3
answers

What is the difference between Full Text Search and LIKE?

I've heard a lot about Full Text Search (FTS) lately, and they told me that I should use this instead of writing queries with LIKE . But how to use Full Text Search ? What are the advantages and disadvantages? And when is it really better...
asked by 21.03.2017 / 16:51
1
answer

What is the best practice for making a large table query?

I have a system composed of several tables. One of the tables is called Publications and contains 15 varied fields, 3 of them being the main ones of my doubt: 1. titulo - varchar(100) 2. subtitulo - varchar(200) 3. texto - text In...
asked by 29.08.2017 / 19:51
1
answer

Install Full-text on SQL Server

I want to use the full-text index in my SQL Server 2014. I've created a catalog with the command: CREATE FULLTEXT CATALOG [noticiasFullText] WITH ACCENT_SENSITIVITY = OFF And when I was creating the full-text index in my table with the c...
asked by 09.03.2017 / 15:12
1
answer

Sort query by relevance MYSQLi

How could you make the query below sorted by relevance and then by date? $query = $mysqli->prepare( "SELECT 'id', 'titulo', 'foto', 'descricao', 'slug', 'data', '' as 'local' FROM 'noticias' WHERE MATCH ('titulo', 'descricao') AGAINST (?) U...
asked by 12.09.2018 / 16:38
0
answers

MySQL full text does not find results with underscore

I'm using to implement a the problem is that words with an underline (ex: com_company_market.txt) are interpreted as one, is there any way to turn underscores into " separators" from words? like space?     
asked by 13.08.2017 / 21:37