full-text-search Questions

0

I need to create suggestion autocomplete for all the columns of a table in a single searchbox using postgres database. I have a search autocomplete in web page and need to autosuggest the options. ...
Kick asked 26/1, 2020 at 14:32

5

Solved

How to insert a text file into a field in PostgreSQL? I'd like to insert a row with fields from a local or remote text file. I'd expect a function like gettext() or geturl() in order to do the f...
Filial asked 18/5, 2009 at 19:32

8

Solved

I would like to do full-text searching of data in my Ruby on Rails application. What options exist?
Modulus asked 6/9, 2008 at 16:51

8

Solved

I've been looking into searching plugins/gems for Rails. Most of the articles compare Ferret (Lucene) to Ultrasphinx or possibly Thinking Sphinx, but none that talk about SearchLogic. Does anyone h...
Ruphina asked 15/7, 2009 at 15:52

1

Solved

When running the following query: select ts_headline( $$Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean vitae mauris ac metus pellentesque malesuada. In hac habitasse platea dictu...
Alack asked 29/11, 2019 at 10:22

1

I'm (re)confused about tsvector fields. It's very common to see examples of text being concatenated into a tsvector field, and then indexed. If you look up PG 12 generated columns, you'll find exam...
Nepheline asked 1/11, 2019 at 20:55

2

I want to use full text search in my project... Can anyone explain me, what is the difference between ElasticSearch and SQL Full Text Search Or why SQL Full Text Search is better (worse) th...
Himself asked 11/12, 2013 at 9:17

1

Solved

I followed the docs and it's almost work well but when I use Full-text Search i got an error: Unsupported lookup 'search' for CharField or join on the field not permitted How can I fix it?
Forestation asked 1/11, 2019 at 17:54

4

Solved

i'm looking for an existing module(s) which enabled me to write basic boolean queries for matching and searching texts, WITHOUT writing my own parser etc. for example, president AND (ronald...
Bobsleigh asked 11/2, 2010 at 17:53

3

Solved

Running a MYSQL query with REGEX and I get a timeout error. I have a Bitnami NGINX Wordpress stack on AWS with Ubuntu 16. Using MYSQL 8.0.16 What settings in MYSQL (or whereever else) do I need to ...
Brand asked 2/7, 2019 at 18:21

3

Solved

I have a following MySQL query: SELECT p.*, MATCH (p.description) AGAINST ('random text that you can use in sample web pages or typography samples') AS score FROM posts p WHERE p.post_id <&gt...
Laky asked 2/7, 2015 at 10:38

3

The following query results in an error due to the @ (at symbol). The query will work fine when it is removed. I tried escaping the @ character, but no luck. SELECT * FROM clients WHERE MATCH (for...
Waneta asked 1/8, 2014 at 20:29

3

Using MySQL 5.6, this request SELECT foo FROM bar WHERE groupId = '1' AND MATCH (foo) AGAINST ('"myQuery"' IN BOOLEAN MODE); and SELECT foo FROM bar WHERE groupId = '1' AND foo like '%myQuer...
Sontich asked 10/9, 2019 at 7:24

2

I have pretty complex JSONB stored in one jsonb column. DB table looks like: CREATE TABLE sites ( id text NOT NULL, doc jsonb, PRIMARY KEY (id) ) Data we are storing in doc column is a com...
Nonconcurrence asked 14/8, 2017 at 18:39

1

Solved

public class Product { private Long id; private String name; private String description; } Is there any way to implement a full text search with JpaRepository for the description of the c...

2

there are 5 fields in each document if simply hit the api. but i want only these two fields(user_id and loc_code) so I mentioned in fields list. but still it return some unnecessary data like _shar...
Prosaism asked 31/5, 2014 at 8:54

2

Solved

I am trying to understand how you update an indexed document in Elasticsearch. I don't understand how it works? What is the ctx that the API is referring to doing? Let say you have a document with ...
Rompers asked 30/3, 2013 at 18:52

1

I'm looking for something like EF.Functions.FreeText that was implemented in SQL Server but using the MATCH...AGAINST syntax of MySQL. This is my current workflow: AspNetCore 2.1.1 EntityFramework...
Whitehurst asked 25/7, 2019 at 16:42

1

Solved

I need to make search-as-you-type autocomplete for a large list of companies (over 80,000,000). The company name should contain the word that starts with a search query like this +-------+--------...
Wingate asked 4/7, 2019 at 23:8

7

My fulltext index option in sqlserver2008 is greyed out? Is it a seperate install?
Alysaalyse asked 15/5, 2009 at 15:38

6

My question is about using full text search. As I know like queries which begin with % never use index : SELECT * from customer where name like %username% If I use fulltext for this query can I ta...
Dervish asked 16/11, 2010 at 13:14

4

I have keywords like "some-or-other" where the hyphens matter in the search through my mysql database. I'm currently using the fulltext function. Is there a way to escape the hyphen chara...
Grubby asked 4/3, 2011 at 10:25

2

Solved

I have a table of images with sentence captions. Given a new sentence I want to find the images that best match it based on how close the new sentence is to the stored old sentences. I know that I...

3

Solved

I've recently seen a lot of libraries for searching and highlighting terms within an HTML page. However, every library I saw has the same problem, they can't find text partly encased in an html tag...
Monied asked 4/5, 2011 at 16:43

2

Solved

Running the following text search directly on MongoDB results in no issues: db.getCollection('schools').find({ $text: { $search: 'some query string', $caseSensitive: false, $diacriticSensitiv...

© 2022 - 2024 — McMap. All rights reserved.