Questions tagged [full-text-search]

Full text search involves searching documents, usually involving unstructured text, as opposed to searching text fields in a structured database.

Full text search involves searching documents, usually involving unstructured text, as opposed to searching text fields in a structured database.

Full text search capabilities often include ranking of results by relevance, similarity matching, boolean queries, text clustering, and more.

Popular Full-text Search Tags

Popular Full-text Search Tags related to Open Source solutions.

7909 questions
21
votes
2 answers

Updating indexed document in Elasticsearch

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 nested documents what do you have to do to update…
LuckyLuke
  • 47,771
  • 85
  • 270
  • 434
21
votes
1 answer

"to_tsquery" on tsvector yields different results when using "simple" and "english"?

I've been enlisted to help on a project and I'm diving back into PostgreSQL after not working with it for several years. Lack of use aside, I've never run into using tsvector fields before and now find myself facing a bug based on them. I read the…
phatskat
  • 1,797
  • 1
  • 15
  • 32
21
votes
6 answers

How to identify if a Lucene.Net Index exists in a folder?

I am using Lucene.Net for indexing and searching documents, and I am using the following code to create or open an index if one exists: IndexWriter writer = new IndexWriter(@"C:\index", new StandardAnalyzer(), !IndexExists); ... private bool…
20
votes
3 answers

Solr - LockObtainFailedException on multiple simultaneous writes

My application does very frequent solr writes from multiple clients via REST. I'm using the autocommit feature by using the "commitWithin" attribute. LockObtainFailedException start appearing after couple of days of use. I'm having a hard time…
Nands
  • 1,541
  • 2
  • 20
  • 33
20
votes
2 answers

In VS Code file searching, can I expand (or collapse) all results?

In the Search pane of the program, after I hit Enter, all files are listed, with some expanded to show results in a file, and others collapsed. I'm wondering firstly what determines the expansion of any given file, and secondly what I can do to…
Lenoxus
  • 545
  • 1
  • 4
  • 19
20
votes
2 answers

Full-Text Search is not installed, or a full-text component cannot be loaded

I am currently attempting to create a full text index on a unique column. The table definition is: CREATE TABLE [dbo].[DictionaryWords]( [Id] [int] IDENTITY(1,1) NOT NULL, [Word] [varchar](255) NOT NULL, [Frequency] [int] NOT…
Steve Wright
  • 534
  • 1
  • 4
  • 14
20
votes
2 answers

Get word frequencies from SQL Server Full Text Search

SQL Server Full-Text Search computes rank based on the frequency of the word in the document and in the set of all documents (TFIDF). Is it possible to access these values directly ? I would like to find the top-n most frequent words in my table.…
muriloq
  • 2,692
  • 5
  • 29
  • 32
20
votes
1 answer

How to set 'File Search' as the default dialog when pressing CTRL + H in Eclipse or STS?

The Search mode seems to be selected to other but 'File Search', depending on the active perpective (debug/Java), when I press CTRL+H keyboard shortcut in Eclipse/STS, which forces me to, point to 'File Search', using my mouse etc, instead of…
20
votes
3 answers

Best way to use PostgreSQL full text search ranking

Following on from this answer I want to know what the best way to use PostgreSQL's built-in full text search is if I want to sort by rank, and limit to only matching queries. Let's assume a very simple table. CREATE TABLE pictures ( id SERIAL…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
20
votes
6 answers

Fast 'Find in Files' for VIM?

What are some options for getting really fast 'Find in Files' searching in VIM? Our codebase is large enough that searching needs to work off an index. grep/vimgrep/etc are too slow. Indexing doesn't need to be particularly fast; I can index…
Christopher Stott
  • 1,408
  • 3
  • 15
  • 23
20
votes
5 answers

When should I NOT use App Engine's Full Text Search API?

So far, I've used App Engine's Full Text Search to help search through existing entities in my datastore. This involves creating at least one Document per entity, and linking the two together somehow. And every time I change the entity, I must…
Nick Farina
  • 4,470
  • 2
  • 32
  • 30
19
votes
1 answer

SQL Server Full Text Search Escape Characters?

I am doing a MS SQL Server Full Text Search query. I need to escape special characters so I can search on a specific term that contains special characters. Is there a built-in function to escape a full text search string? If not, how would you do…
driis
  • 161,458
  • 45
  • 265
  • 341
19
votes
4 answers

SQLite full-text search relevance ranking

I am using the fts4 extension of sqlite3 to enable full-text indexing and searching of text data. This it working great, but I've noticed that the results are not relevance-ranked at all. I guess I am too used to Lucene. I've seen some brief…
jmans
  • 5,648
  • 4
  • 27
  • 32
19
votes
6 answers

Alternatives for regex in Python

Regular expressions are highly unreadable and difficult to debug. Does there exist any replacement for text processing which could be handled by mere mortals? Criteria include It's a library or a tool (please point the answer to the library…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
19
votes
1 answer

Get a list of search results in Visual Studio

Does anyone know of a way to get an entire list of search results in Visual Studio, or an extension that can do the same? Normally, when using the search box, the next found item is highlighted as you go, which is nice, but sometimes it would be…
A.R.
  • 15,405
  • 19
  • 77
  • 123