full-text-search

How to sync and optimize an Oracle Text index?

谁说胖子不能爱 提交于 2019-12-20 10:45:00
问题 We want to use a ctxsys.context index type for full text search. But I was quite surprised, that an index of this type is not automatically updated. We have 3 million documents with about 10k updates/inserts/deletes per day. What are your recommendations for syncing and optimizing an Oracle Text index? 回答1: I think 'SYNC EVERY' option, as described in previous answer only available in Oracle 10g or newer. If you're using older version of Oracle you would have to run sync operation

Full Text Search with Firebird and Delphi

被刻印的时光 ゝ 提交于 2019-12-20 10:11:20
问题 I'm looking into implementing full text search on our Firebird database. Our requirements are: Every field in several tables should be indexed. When a result is found we should be able to find out the originating table. The index can be stored in the database or in the file system. The results of the search (BigInt primary keys) must be used to join with the original records in the database to display the records in a table. Can anybody recommend a decent way to achieve what we need? I've

PostgreSQL Full Text Search and Trigram Confusion

别说谁变了你拦得住时间么 提交于 2019-12-20 09:30:32
问题 I'm a little bit confused with the whole concept of PostgreSQL, full text search and Trigram. In my full text search queries, I'm using tsvectors, like so: SELECT * FROM articles WHERE search_vector @@ plainto_tsquery('english', 'cat, bat, rat'); The problem is, this method doesn't account for misspelling. Then I started to read about Trigram and pg_trgm: Looking through other examples, it seems like trigram is used or vectors are used, but never both. So my questions are: Are they ever used

SQLite snippet function implementation does not format Text as HTML in TextView

情到浓时终转凉″ 提交于 2019-12-20 04:29:08
问题 I am implementing a search function using SQLite FULL TEXT SEARCH. I want to present the results with bold query text as Google search does! I have implemented code something like below but it displays the plain text without any HTML formatting though binding view to the cursor adapter and setting text formatting of the TextView . I cannot figure out where I am wrong in the code? Any Help Please! My search function in DatabaseAdapter Class is: public Cursor searchText(String inputText) throws

What does this error message mean in appengine?

最后都变了- 提交于 2019-12-20 04:23:25
问题 Search failed Traceback (most recent call last): File "/base/data/home/apps/s~montaoproject/2013e.368508855356793432/search_demo.py", line 87, in find_documents return index.search(query) File "/python27_runtime/python27_lib/versions/1/google/appengine/api/search/search.py", line 2732, in search _CheckStatus(response.status()) File "/python27_runtime/python27_lib/versions/1/google/appengine/api/search/search.py", line 413, in _CheckStatus raise _ERROR_MAP[status.code()](status.error_detail())

MongoDB - Full Text Index - Full Text Search - stemming

二次信任 提交于 2019-12-20 04:12:17
问题 I noticed that if I enter the value 'seasons' in a full text search enabled string field of some collection, then MongoDB finds this value when I query for 'season'. But if I enter something more complex like e.g. 'mice' or 'criteria', it does not find these values when I query for 'mouse' or 'criterion' respectively. Is that normal and are there any clear rules what MongoDB is able to stem and what not? [test] 2014-03-30 18:25:09.551 >>> db.TestFullText7.find(); { "_id" : ObjectId(

Full text search in Neo4j with spaces

穿精又带淫゛_ 提交于 2019-12-20 02:42:29
问题 When the neo4j lucene auto index is in exact mode (which is the default) queries of the type: start n=node:node_auto_index('name:asfd\\ a*') return n Work correctly (assuming you have a node with the name asdf adsf for instance. However when switching the index to "fulltext" mode following these instructions (including deleting the index and reassigning the indexed property), then the same query doesn't return any results. Original Question Trying to search neo4j via the full text index when

Escaping an ampersand in SQL Server Full-Text Search query using CONTAINSTABLE

落爺英雄遲暮 提交于 2019-12-20 02:35:15
问题 I have a very peculiar case. My ASP.NET page calls a stored procedure of ours that performs a Full-Text Search query on our database. Some of the commonly searched strings include an ampersand because a few brands of our products (well-known brands, too) have an & in their name. It turns out that in a certain case I get no results unless I escape the ampersand ( \& ), and in a certain other case I get no results only if I escape the ampersand . I don't know if this is relevant, but (without

Escaping an ampersand in SQL Server Full-Text Search query using CONTAINSTABLE

眉间皱痕 提交于 2019-12-20 02:35:08
问题 I have a very peculiar case. My ASP.NET page calls a stored procedure of ours that performs a Full-Text Search query on our database. Some of the commonly searched strings include an ampersand because a few brands of our products (well-known brands, too) have an & in their name. It turns out that in a certain case I get no results unless I escape the ampersand ( \& ), and in a certain other case I get no results only if I escape the ampersand . I don't know if this is relevant, but (without

Properly install sqlite3 with FTS5 support

旧时模样 提交于 2019-12-19 22:35:31
问题 I'm developing a Python tool which uses a sqlite3 virtual table with FTS5 (Full Text Search). I would like to know how to properly install from a tarball (or any other means) the needed requirements for my tool to work so I can pack them for portability. Currently, I managed to install the latest release tarball of sqlite. However, when I execute: python3 -c "import sqlite3; print(sqlite3.sqlite_version)" # or python2 -c "import sqlite3; print(sqlite3.sqlite_version)" I get 3.11.0 , while