Lucene implements index creation and retrieval; Ikanalyzer realizes the Chinese word segmentation, the light has been able to achieve the Chinese search, but the light is not enough, many projects in the search, should also be able to deal with synonyms, such as the index library has "computer", "computer" such as the entry, search "Notebook" should also be able to "computer", "computer" such an entry to match, which involves the index of the synonym
1. Why Use synonyms:
Synonyms, as the name implies is two words, the same meaning, can replace each other. So what's its function?
A one of the most obvious purposes is to simplify SQL. If a database object's name is too long, you can create a shorter synonym. It's the abbreviation.
B. Another purpose is to hide the information of some objects. For example, to find a table in another schema, you need to pr
Questions raised
In my new job, I faced the problem of archiving the tables that were created in the product database, because as the database grows, it needs to be moved now. At the same time, these archived tables are used for several tasks and are invoked in the application's code. Moving them in this way is a very complicated process. I want to find a way to minimize the amount of work that developers have to do, because they have very limited time. Can you tell me the best way to file the
What is the synonym "synonym"?(1) For some long names of objects (table, view, index, sequence, ...) ) do the subtraction, Replace with aliasesThe role of synonyms(1) Shorten the length of the object name(2) Easy access to other users ' objectsCreate synonyms that correspond to the Salgrade table,Create synonym synonyms for table name/view/other objectsCreate sy
Use Environment
elasticsearch5.1.1
kibana5.1.1
Synonyms plugin 5.1.1
Installing plugins
download the corresponding elasticsearch-analysis-dynamic-synonym-5.1.1.zip, unzip to the local elasticsearch/plugins directory, restart ES
first way local file
Description:
for local files: mainly through the file modification timestamp (Modify time) to determine whether to reload
in the Elasticsearch/config directory, set up the analysis directory, and p
simplifying database user access to object SQL statements4. Enable restricted access similar tospecialized views when exercising fine-grained access control provides access similar to the specified view when exercising fine-grained access controls LimitYou can create both public and privatesynonyms. A public synonym are owned by the special user group named public andevery user in a database can access it. A private synonym is in the schema of aspecific user who have control over their availabi
Common Oracle database objects-indexes and synonyms
I. Index
A) advantages of using Indexes
I. A table-independent schema object that can be stored in a disk or tablespace different from the table
II. If the index is deleted or damaged, it does not affect the table. Only the query speed is affected.
Iii. Once an index is created, the Oracle management system automatically maintains the index.
IV. The system determines when to use the inde
I have been trying to find a good synonym solution. Baidu and Google are all just a few words about this problem. I don't want to clarify it. I can't find this information in javaeye, then I sent a question post, and I only had to view the number of pages without replying. I don't know why, but I only had to study it myself.
Because there are no other solutions for reference, the following are my personal opinions.
In my opinion, the retrieval of sy
Set synonyms for ease of useSelect * from emp; and so on are used for select * from abc;Create a common synonymIf the user's level is not enough to establish a public synonym, You can authorize it under system:Grant create any synonym to scott;Grant create public synonym to scott;Cancel authorization:Revoke create any synoym from scott;Revoke create public synoym from scott;Cancel synonym:Drop public synonym abc;Synonym for canceling authorization:Gra
Tags: style blog color sp for div on log bs1: To SYSDBA login system, first create a userSql> Conn/assysdbaconnected.sql> Create user yshy identified by yshy; User created. SQL> grant connect to Yshy; Grant succeeded. SQL> grant resource to yshy; Grant succeeded. SQL> grant create synonym to Yshy; Grant succeeded. SQL2: Switch to yshy user and create synonyms for scott.empSql> Conn yshy/yshyconnected.sql for scott.emp; Synonym created.3: query synonym
Database linkThe primary role of Dblink is data access between two databasesCreate DATABASE link My_test connect to testdbname identified by TestpassUsing ' (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP) (HOST = dev) (PORT = 1521))(Connect_data =(SERVER = dedicated)(service_name = Ora8)))‘;My_test:dblink's name.Testdbname: The user name of the database to connect toTestpass: The password of the database to connect toUsing the following information: locally established TNS connected to the remote data
Iot framework ServerSuperIO tutorial-19. device drivers and OPC Client Support persistence of mysql, oracle, sqlite, and sqlserver. V3.6.4 released, sqlite persistent
19. The device driver and OPC Client Support persistence of mysql, oracle, sqlite, and sqlserver.
19.1 Overview
ServerSuperIO supports writing data collected by device drivers and OPC clients to mysql, oracle, SQL Server, and sqlite databases by TAG set. It also supports writing data to
Oracle Database Synonyms
I. Definition
A synonym is an alias for a database solution object. The database solution objects here refer to tables, views, sequences, stored procedures, packages, and so on.
2. Benefits of synonyms
1. No memory space occupied, saving a lot of database space
2. simplified access to database objects
3. Improved Database Object Access Security
4. the extended scope of use of datab
Oracle Database Synonyms (SYNONYM), oraclesynonym
This tutorial uses examples to illustrate how to create and delete Synonyms (SYNONYM) in Oracle Data ).
Concept
Synonyms refer to database objects (tables, views, sequences, stored procedures, and other database objects) referenced by another name. For example:
Creating a synonym can exclude the restriction of an
Both views and synonyms are the object names in the database. They do not correspond to actual data storage and all depend on the existence of other objects.View: A view can be viewed as a virtual table or storage query. Unless it is an index view, the data in the view will not be stored in the database as non-duplicate objects. Generally, a view is built based on one or more data tables that are queried by a data query statement. A view can be used i
I. BACKGROUND
There are two sid:asid,bsid, two user auser1,auser2 under Asid, and a user Buser1 under Bsid. Among them Auser2 and Buser1 established the Dblink. You now want to access the three tables Table1,table2,table3 information and function function1 on Auser1 by logging on to Buser1.
Second, the steps
① login Auser1 to Auser2 authorization (plus delete if you need to delete)
Grant Insert,select,update on Table1 to Auser2;
Grant Insert,select,update on table2 to Auser2;
Grant Insert,
In the Word2013 document, users can use the Thesaurus feature to find synonyms and antonyms for known English words, which are described in the following steps:
Step 1th, open the Word2013 document window and switch to the Review tab. Select the English word and click the Thesaurus button in the proofing area, as shown in Figure 2013080722.
Figure 2013080722 Click the Thesaurus button
In the 2nd step, words that are similar in meaning to the sele
I. Related content1. Understand the concepts and types of indexes.2. Master the command to create the index.3. Understand the concepts and advantages of the view.4. Understand the features that updatable views should have.5. Master commands for creating general views and updatable views.6. Understand the concepts and roles of sequences and synonyms.7. Mastering the creation and application of sequences.8. Understand the creation and application of syn
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.