JP2014194608A - Retrieval system, retrieval method and retrieval program - Google Patents

Retrieval system, retrieval method and retrieval program Download PDF

Info

Publication number
JP2014194608A
JP2014194608A JP2013070222A JP2013070222A JP2014194608A JP 2014194608 A JP2014194608 A JP 2014194608A JP 2013070222 A JP2013070222 A JP 2013070222A JP 2013070222 A JP2013070222 A JP 2013070222A JP 2014194608 A JP2014194608 A JP 2014194608A
Authority
JP
Japan
Prior art keywords
search
input
character string
attribute information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013070222A
Other languages
Japanese (ja)
Inventor
Yuya Komatsu
裕也 小松
Toyohisa Morita
豊久 森田
Hideshi Kimura
英志 木村
Shigeyuki Tani
繁幸 谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Systems Ltd
Original Assignee
Hitachi Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Systems Ltd filed Critical Hitachi Systems Ltd
Priority to JP2013070222A priority Critical patent/JP2014194608A/en
Publication of JP2014194608A publication Critical patent/JP2014194608A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a retrieval system capable of performing a condition-designated narrowing-down retrieval on a specific attribute that text has.SOLUTION: A retrieval system comprises: a display section 203; an input section 201; an input-enabled candidate list 404; a substance DB 402; an input-enabled attribute name display processing section 202 for displaying on the display section 203 input-enabled attribute information relative to a retrieval character string; a retrieval key creation section 301 for creating a retrieval key including attribute information on the basis of attribute information and the retrieval character string inputted from the input section 201 based on the input-enabled attribute information displayed on the display section 203; and a substance data acquisition section in which the substance DB 402 is retrieved on the basis of retrieval information of multi-dimensional data based on the retrieval key and a retrieval result is displayed on the display section 203.

Description

本発明は、検索システムに関し、特に、自由な書式で記述された文章とカテゴリ値や日付などの書式が決まっている値の両方を持つ多次元データを対象として、自由な書式で記述されたテキストなどの文章に対するテキスト検索と、テキスト以外のカテゴリ値や日付などの属性に対する属性検索を組み合わせた検索方法に関するものである。   The present invention relates to a search system, and in particular, text described in a free format for multi-dimensional data having both a text described in a free format and a value in which a format such as a category value or a date is determined. The present invention relates to a search method that combines a text search for a sentence such as, and an attribute search for attributes such as category values and dates other than text.

多次元データでは、そのデータ集合の中から目的に応じたデータを探し出す検索が良く行われる。検索には、テキスト検索と属性検索の2つの手法がある。   In multidimensional data, a search is often performed to find data according to the purpose from the data set. There are two methods of search, text search and attribute search.

属性検索とは、リレーショナルデータベース(以下、RDBと呼ぶ)のテーブルからデータを抽出するときに良く用いられる手法で、属性に条件をつけてその条件に当てはまるデータを抽出する手法である。   The attribute search is a method often used when data is extracted from a table of a relational database (hereinafter referred to as RDB), and is a method of extracting data that satisfies a condition by assigning a condition to the attribute.

テキスト検索とは、Google(登録商標)などの検索エンジンのように、ユーザが入力した検索単語をテキスト内に含むデータを抽出する手法である。   The text search is a method of extracting data including a search word input by a user in the text, like a search engine such as Google (registered trademark).

さらに、属性により検索対象データの範囲を絞り込み、テキスト検索を行う方法も提案されている。例えば、特開2004−289848号公報(特許文献1)は、ユーザが入力した検索単語をあらかじめ持っている属性リストと比較して、属性リストに含まれる場合は属性検索、属性リストに含まれない場合はテキスト検索に自動的に振り分けて検索を行う方法が示されている。   Furthermore, a method of performing a text search by narrowing down the range of search target data by attribute has been proposed. For example, Japanese Patent Application Laid-Open No. 2004-289848 (Patent Document 1) compares an attribute list having a search word input by the user in advance with an attribute list that is not included in the attribute search or attribute list. In this case, a method for automatically searching for text search is shown.

特開2004−289848号公報JP 2004-289848 A

属性検索では、ユーザは多次元データの中にどのような属性があるかということをあらかじめ知っておかなければならないという問題がある。この問題の一般的解決策として、ユーザインタフェース(以下、UIと呼ぶ)であらかじめ属性名を表示するという方法があるが、この方法では、ユーザが属性名の変更や属性の追加が行われるたびにUIの変更が必要になる手間がかかる。   In the attribute search, there is a problem that the user needs to know in advance what kind of attribute exists in the multidimensional data. As a general solution to this problem, there is a method of displaying an attribute name in advance in a user interface (hereinafter referred to as UI). In this method, whenever a user changes an attribute name or adds an attribute, It takes time and effort to change the UI.

テキスト検索では、ユーザには検索単語のみを入力させ、属性とテキストの中から入力された検索単語を含むデータを抽出することにより、属性名を知らなくとも検索をすることができる。また、UIの変更も必要ない。   In the text search, the user can input only the search word and extract data including the search word input from the attribute and the text, so that the search can be performed without knowing the attribute name. Also, there is no need to change the UI.

しかし、特定の性質となる属性を持つデータ集合で絞り込むことができず、検索結果として得られるデータの件数が多くなるため、目的となるデータを探し出すことが難しい。   However, it cannot be narrowed down by a data set having an attribute having a specific property, and the number of data items obtained as a search result increases, so that it is difficult to find target data.

特許文献1では、検索単語を自動的にテキスト検索か属性検索か判定して検索を行うため、属性により検索対象データの範囲を絞り込んだテキスト検索が可能で、かつどの属性にどの値が含まれているかをあらかじめ知っておく必要もない。   In Patent Document 1, since search is automatically performed by determining whether a search word is a text search or an attribute search, a text search can be performed by narrowing down the range of search target data by attribute, and which attribute includes which value. There is no need to know in advance.

しかし、特許文献1では、ある特定の属性に対して条件を指定して、絞り込み検索を行うことができない。ある特定の属性で検索対象データを絞り込んだテキスト検索を行う場合において、ユーザは、意図した条件で検索を行うことができない。   However, in Patent Document 1, it is not possible to perform a narrow search by specifying a condition for a specific attribute. When performing a text search by narrowing down search target data with a specific attribute, the user cannot perform a search under intended conditions.

そこで、本発明の目的は、テキストの持つ特定の属性に対して条件を指定した絞り込み検索を行うことができる検索システムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a search system that can perform a narrow search that specifies a condition for a specific attribute of a text.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次の通りである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

すなわち、代表的なものの概要は、自由な書式で記述された文章を含む多次元データを対象として、検索処理を行う検索システムであって、ユーザに対して検索処理に関連する情報を表示する表示部と、表示部の表示情報に基づいたユーザからの検索文字列および検索文字列に対する属性情報を入力する入力部と、検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、多次元データに関する情報が格納された実体データベースと、入力部から入力された検索文字列および入力可能候補リストに基づいて、検索文字列に対する入力可能な属性情報を表示部に表示させる入力可能属性名表示処理部と、表示部に表示された入力可能な属性情報に基づいた入力部から入力された属性情報および検索文字列に基づいて、前記属性情報を含む検索キーを作成する検索キー作成部と、検索キーに基づいた多次元データの検索情報に基づいて、実体データベースを検索し、検索結果を表示部に表示させる実体データ取得部と、を備えたものである。   That is, a typical overview is a search system that performs a search process for multidimensional data including sentences described in a free format, and displays information related to the search process to the user. A search character string from the user based on display information on the display unit and an input unit for inputting attribute information for the search character string, an inputable candidate list in which attribute information that can be input for the search character string is stored, An inputable attribute name that causes the display unit to display attribute information that can be entered for the search character string based on the entity database that stores information about multidimensional data, the search character string input from the input unit, and the inputable candidate list Based on attribute information and a search character string input from a display processing unit and an input unit based on inputable attribute information displayed on the display unit, the attribute A search key creation unit that creates a search key including information, and an entity data acquisition unit that searches the entity database based on the search information of the multidimensional data based on the search key and displays the search result on the display unit. It is provided.

また、ユーザに対して検索処理に関連する情報を表示する表示部と、表示部の表示情報に基づいたユーザからの検索文字列および検索文字列に対する属性情報を入力する入力部と、検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、多次元データに関する情報が格納された実体データベースと、を備え、自由な書式で記述された文章を含む多次元データを対象として、検索処理を行う検索システムにおける検索方法であって、入力可能属性名表示処理部で、入力部から入力された検索文字列および入力可能候補リストに基づいて、前記検索文字列に対する入力可能な属性情報を前記表示部に表示させるステップと、検索キー作成部で、表示部に表示された入力可能な属性情報に基づいた入力部から入力された属性情報および検索文字列に基づいて、属性情報を含む検索キーを作成するステップと、実体データ取得部で、検索キーに基づいた多次元データの検索情報に基づいて、実体データベースを検索し、検索結果を表示部に表示させるステップと、を有するものである。   In addition, a display unit that displays information related to search processing for the user, an input unit that inputs a search character string from the user based on the display information of the display unit, and attribute information for the search character string, and a search character string Search for multidimensional data including sentences written in free format, including an inputable candidate list in which attribute information that can be input is stored and an entity database in which information on multidimensional data is stored A search method in a search system that performs processing, wherein an inputable attribute name display processing unit obtains inputable attribute information for the search character string based on a search character string and an inputable candidate list input from the input unit. The attribute information input from the input unit based on the inputable attribute information displayed on the display unit at the step of displaying on the display unit and the search key creating unit. And a step of creating a search key including attribute information based on the search character string, and the entity data acquisition unit searches the entity database based on the search information of the multidimensional data based on the search key, and obtains the search result. And displaying on the display unit.

また、ユーザに対して検索処理に関連する情報を表示する表示部と、表示部の表示情報に基づいたユーザからの検索文字列および検索文字列に対する属性情報を入力する入力部と、検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、多次元データに関する情報が格納された実体データベースと、を備えた計算機システムを用いて、自由な書式で記述された文章を含む多次元データを対象として、検索処理を行う検索プログラムであって、計算機システムを、入力部から入力された検索文字列および入力可能候補リストに基づいて、検索文字列に対する入力可能な属性情報を表示部に表示させる入力可能属性名表示処理部と、表示部に表示された入力可能な属性情報に基づいた入力部から入力された属性情報および検索文字列に基づいて、属性情報を含む検索キーを作成する検索キー作成部と、検索キーに基づいた多次元データの検索情報に基づいて、実体データベースを検索し、検索結果を表示部に表示させる実体データ取得部として機能させるものである。   In addition, a display unit that displays information related to search processing for the user, an input unit that inputs a search character string from the user based on the display information of the display unit, and attribute information for the search character string, and a search character string Multidimensional including sentences described in free format using a computer system comprising an inputable candidate list storing inputable attribute information for and a substance database storing information on multidimensional data A search program for performing a search process for data, wherein a computer system is configured to display attribute information that can be input to a search character string based on a search character string and an inputable candidate list input from the input unit. Inputable attribute name display processing section to be displayed, and attribute information and verification input from the input section based on the inputable attribute information displayed on the display section. A search key creation unit that creates a search key including attribute information based on a character string, and a search of a substance database based on multi-dimensional data search information based on the search key, and a search result is displayed on a display unit. It functions as an entity data acquisition unit.

本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下の通りである。   The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、自由な書式で記述された文章を含む多次元データを対象とした検索において、ユーザが属性検索により、検索対象データの範囲を絞りつつ、テキスト検索を行うことが可能になり、ユーザの目的とするデータの抽出が容易になる。   In other words, in a search for multidimensional data including sentences described in a free format, the user can perform a text search by narrowing down the range of the search target data by attribute search. It becomes easy to extract data.

本発明の一実施の形態に係る検索システムの構成を示す構成図である。It is a block diagram which shows the structure of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの全体動作を示すフローチャートである。It is a flowchart which shows the whole operation | movement of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの図2のステップS101における入力部がユーザから入力を受け付け、入力可能属性名表示処理部で入力可能な属性名を表示する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence which the input part in FIG.2 S101 of the search system which concerns on one embodiment of this invention receives an input from a user, and displays the attribute name which can be input in an inputable attribute name display process part. . 本発明の一実施の形態に係る検索システムの検索条件を受け付ける画面例を示す図である。It is a figure which shows the example of a screen which receives the search conditions of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの入力可能候補リストのスキーマとデータ格納例を示す図である。It is a figure which shows the schema of the input possibility candidate list | wrist of the search system which concerns on one embodiment of this invention, and a data storage example. 本発明の一実施の形態に係る検索システムの入力可能候補の画面例を示す図である。It is a figure which shows the example of a screen of the input possible candidate of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの1つの属性が入力された後に次の入力可能候補となる属性名を表示する画面例を示す図である。It is a figure which shows the example of a screen which displays the attribute name used as the next input possibility candidate after one attribute of the search system which concerns on one embodiment of this invention is input. 本発明の一実施の形態に係る検索システムの図2のステップS102における検索キー作成部が検索キーを作成する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in which the search key preparation part in FIG.2 S102 of the search system which concerns on one embodiment of this invention produces a search key. 本発明の一実施の形態に係る検索システムの属性名リストのスキーマとデータ格納例を示す図である。It is a figure which shows the schema of the attribute name list of the search system which concerns on one embodiment of this invention, and a data storage example. 本発明の一実施の形態に係る検索システムの図2のステップS103におけるインデックス検索部が検索キーの検索により、データIDを取得する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in which the index search part in FIG.2 S103 of the search system which concerns on one embodiment of this invention acquires data ID by search of a search key. 本発明の一実施の形態に係る検索システムのインデックスDBのスキーマとデータ格納例を示す図である。It is a figure which shows the schema of the index DB of the search system which concerns on one embodiment of this invention, and a data storage example. 本発明の一実施の形態に係る検索システムの対応リストのスキーマとデータ格納例を示す図である。It is a figure which shows the schema of the corresponding list of the search system which concerns on one embodiment of this invention, and a data storage example. 本発明の一実施の形態に係る検索システムの図2のステップS104における実体データIDリスト作成部が、データIDのフィルタリングをして、実体データを取得するための実体データIDリストを作成する処理手順を示すフローチャートである。2 is a processing procedure in which the entity data ID list creation unit in step S104 of FIG. 2 of the search system according to the embodiment of the present invention creates an entity data ID list for acquiring the entity data by filtering the data ID. It is a flowchart which shows. 本発明の一実施の形態に係る検索システムの対応リストのデータIDマージ例を示す図である。It is a figure which shows the data ID merge example of the corresponding | compatible list of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの実体データIDリストの作成例を示す図である。It is a figure which shows the creation example of the entity data ID list of the search system which concerns on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの図2のステップS105における実体データ取得部が実体データを取得する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in which the entity data acquisition part in step S105 of FIG. 2 of the search system which concerns on one embodiment of this invention acquires entity data. 本発明の一実施の形態に係る検索システムの実体DBのスキーマとデータ格納例を示す図である。It is a figure which shows the schema and data storage example of entity DB of the search system which concern on one embodiment of this invention. 本発明の一実施の形態に係る検索システムの検索結果表示画面の例を示す図である。It is a figure which shows the example of the search result display screen of the search system which concerns on one embodiment of this invention.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

<検索システムの構成>
図1により、本発明の一実施の形態に係る検索システムの構成について説明する。図1は本発明の一実施の形態に係る検索システムの構成を示す構成図である。
<Configuration of search system>
A configuration of a search system according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a configuration diagram showing a configuration of a search system according to an embodiment of the present invention.

図1に示すように、検索システムを構成する計算機システム101およびそのユーザ100を有し、計算機システム101上に配置される、検索管理サブシステム200、検索サブシステム300、検索対象データベース(DB)群400の相互の関係を模式的に示している。   As shown in FIG. 1, a search management subsystem 200, a search subsystem 300, and a search target database (DB) group having a computer system 101 and its user 100 constituting the search system and arranged on the computer system 101. The mutual relationship of 400 is shown typically.

計算機システム101は、中央演算処理装置などの計算処理能力を有する1つ以上の計算機により構成される。   The computer system 101 is composed of one or more computers having a calculation processing capability such as a central processing unit.

計算機システム101の具体例としては、プロセッサ、メモリ、ディスク、バス、通信インタフェース部、入力装置、および出力装置などの要素を備えるPCやサーバ等の計算機において、プログラム実行により各処理機能を実現できる。   As a specific example of the computer system 101, each processing function can be realized by executing a program in a computer such as a PC or a server having elements such as a processor, a memory, a disk, a bus, a communication interface unit, an input device, and an output device.

例えば、プロセッサがディスク等からメモリに検索プログラムやその他の制御プログラムなどをロードして実行することにより、各部の処理が実現される。   For example, the processing of each unit is realized by a processor loading and executing a search program or other control program from a disk or the like to a memory.

検索管理サブシステム200は、入力部201、入力可能属性名表示処理部202、および表示部203を有している。   The search management subsystem 200 includes an input unit 201, an inputable attribute name display processing unit 202, and a display unit 203.

入力部201はユーザ100からの検索文字列および検索文字列に対する属性名などの属性情報を入力し、表示部203は、ユーザ100に対して検索処理に関連する情報を表示する。   The input unit 201 inputs a search character string from the user 100 and attribute information such as an attribute name for the search character string, and the display unit 203 displays information related to the search process to the user 100.

入力部201および表示部203は、例えば、計算機によるキーボード、マウス、その他の入力装置の制御処理、ディスプレイ等の出力装置の制御処理などにより構成できる。   The input unit 201 and the display unit 203 can be configured by, for example, control processing of a keyboard, mouse, and other input devices by a computer, control processing of an output device such as a display, and the like.

検索管理サブシステム200は、入力部201を介してユーザ100から検索の条件を表現した検索文字列となる文字列を受け取り、検索サブシステム300に渡す。   The search management subsystem 200 receives a character string as a search character string expressing a search condition from the user 100 via the input unit 201 and passes it to the search subsystem 300.

入力可能属性名表示処理部202は、ユーザ100が検索単語を入力するときに、その検索単語を値として持つ属性名を表示部203に表示させる。   When the user 100 inputs a search word, the inputable attribute name display processing unit 202 causes the display unit 203 to display an attribute name having the search word as a value.

検索条件は、検索単語または、検索単語と属性名の組で表現される。検索文字列は、複数の検索条件を含むこともできる。さらに、検索サブシステム300が検索対象DB群400から抽出した検索結果を受け取り、表示部203に表示する。   The search condition is expressed by a search word or a combination of a search word and an attribute name. The search character string can also include a plurality of search conditions. Further, the search subsystem 300 receives search results extracted from the search target DB group 400 and displays them on the display unit 203.

検索サブシステム300は、検索文字列に応じて、検索対象DB群400からデータを抽出するシステムである。   The search subsystem 300 is a system that extracts data from the search target DB group 400 according to a search character string.

検索サブシステム300は、検索キー作成部301、インデックス検索部302、実体データIDリスト作成部303、および実体データ取得部304を有している。   The search subsystem 300 includes a search key creation unit 301, an index search unit 302, an entity data ID list creation unit 303, and an entity data acquisition unit 304.

検索キー作成部301は、検索条件に応じて検索単語と属性ビットを組み合わせた検索キーとなる文字列を作成する機能を有する。   The search key creation unit 301 has a function of creating a character string serving as a search key that combines a search word and an attribute bit according to a search condition.

インデックス検索部302は、インデックスDB401から検索キーに対応するデータのIDを抽出する機能を有する。   The index search unit 302 has a function of extracting the data ID corresponding to the search key from the index DB 401.

実体データIDリスト作成部303は、検索条件に応じて、IDのフィルタリングを行い、検索結果として抽出するデータのIDリストを作成する機能を有する。   The entity data ID list creation unit 303 has a function of filtering IDs according to search conditions and creating an ID list of data to be extracted as a search result.

実体データ取得部304は、IDリストを基に実体DB402からデータを抽出する機能を有する。   The entity data acquisition unit 304 has a function of extracting data from the entity DB 402 based on the ID list.

検索対象DB群400は、検索対象となるデータを格納しており、インデックスDB401、実体DB402、属性名リスト403、および入力可能候補リスト404を有している。   The search target DB group 400 stores data to be searched, and includes an index DB 401, an entity DB 402, an attribute name list 403, and an inputable candidate list 404.

インデックスDB401は、検索キーに対応したデータIDのインデックスを格納する。   The index DB 401 stores an index of a data ID corresponding to the search key.

実体データDB402は、データIDに紐ついたテキストと属性を1つにまとめた実体データであるデータを格納する。   The entity data DB 402 stores data that is entity data in which the text and attributes associated with the data ID are combined into one.

属性名リスト403は、実体データのもつ属性名のリストを格納する。   The attribute name list 403 stores a list of attribute names of the entity data.

入力可能候補リスト404は、検索文字列の値に対する入力可能な属性の候補のリストを格納する。   The inputable candidate list 404 stores a list of candidate attributes that can be input for the search string value.

<検索システムの全体動作>
次に、図2により、本発明の一実施の形態に係る検索システムの全体動作について説明する。図2は本発明の一実施の形態に係る検索システムの全体動作を示すフローチャートであり、検索システムがデータ検索を行う際のシステム全体の検索手順を示している。
<Overall operation of search system>
Next, the overall operation of the search system according to the embodiment of the present invention will be described with reference to FIG. FIG. 2 is a flowchart showing the entire operation of the search system according to the embodiment of the present invention, and shows the search procedure of the entire system when the search system performs data search.

また、以下の説明においては、ブログ検索を一例として説明している。   In the following description, blog search is described as an example.

まず、検索管理サブシステム200は、入力部201を介してユーザから検索文字列を受け取る(ステップS101)。   First, the search management subsystem 200 receives a search character string from the user via the input unit 201 (step S101).

検索文字列は、検索単語または、検索単語と1つ以上の属性名の組をそれぞれ区切り文字(例えば、空白文字など)で区切って複数入力することもできる。ここでは、検索単語または、検索単語と属性名の組を検索条件と呼ぶ。   A plurality of search character strings can be input by separating a search word or a combination of a search word and one or more attribute names with a delimiter (for example, a blank character). Here, a search word or a combination of a search word and an attribute name is called a search condition.

検索単語と属性名の区切りは検索条件の区切り文字とは別の文字(例えば、コロンなど)とし、属性名が複数指定される場合の区切り文字も前記区切り文字とは別の文字(例えば、カンマなど)とする。   The search word and attribute name are separated from the search condition delimiter (for example, a colon). When multiple attribute names are specified, the delimiter is different from the delimiter (for example, a comma). Etc.).

受け取った検索文字列は、検索サブシステム300の検索キー作成部301に渡され、検索キーが作成される(ステップS102)。検索キーは、検索単語とその検索単語がどの属性に対して指定された条件かを表す属性ビットを連結した文字列である。   The received search character string is transferred to the search key creation unit 301 of the search subsystem 300, and a search key is created (step S102). The search key is a character string obtained by concatenating a search word and an attribute bit indicating which attribute the search word is specified for.

その後、検索キーはインデックス検索部302に渡され、インデックス検索部302では、検索キーをキーとしてインデックスDB401を検索して、その検索キーの条件に一致するデータIDのリストを取得する(ステップS103)。   Thereafter, the search key is transferred to the index search unit 302. The index search unit 302 searches the index DB 401 using the search key as a key, and acquires a list of data IDs that match the search key condition (step S103). .

データIDのリストは、1つの検索キーに対して1つ取得される。その後、検索キーとデータIDのリストは、実体データIDリスト作成部303に送られ、指定された条件に従い、全ての条件に当てはまる実体データIDリストとなる実体データのIDリストを作成する(ステップS104)。   One list of data IDs is acquired for one search key. Thereafter, the list of search keys and data IDs is sent to the entity data ID list creation unit 303, and an entity data ID list that is an entity data ID list that meets all the conditions is created in accordance with the specified conditions (step S104). ).

実体データIDリストは、実体データ取得部304に渡され、実体データIDリストに含まれるデータIDをキーとして、実体DB402を検索して、実体データを取得する(ステップS105)。   The entity data ID list is delivered to the entity data acquisition unit 304, and the entity DB 402 is searched using the data ID included in the entity data ID list as a key to acquire the entity data (step S105).

最後に、取得した実体データを表示部203に渡し、検索結果を表示して(ステップS106)、処理を終了する。   Finally, the acquired entity data is transferred to the display unit 203, the search result is displayed (step S106), and the process ends.

<検索システムの詳細動作>
次に、図3〜図18により、本発明の一実施の形態に係る検索システムの詳細動作について説明する。
<Detailed operation of search system>
Next, a detailed operation of the search system according to the embodiment of the present invention will be described with reference to FIGS.

図3〜図18は本発明の一実施の形態に係る検索システムの詳細動作を説明するための説明図であり、図2に示すステップS101〜ステップS105の各ステップの詳細を示している。   3 to 18 are explanatory diagrams for explaining the detailed operation of the search system according to the embodiment of the present invention, and show details of steps S101 to S105 shown in FIG.

図3は図2のステップS101における入力部201がユーザから入力を受け付け、入力可能属性名表示処理部202で入力可能な属性名を表示する処理手順を示すフローチャート、図4は検索条件を受け付ける画面例を示す図である。   FIG. 3 is a flowchart showing a processing procedure in which the input unit 201 in step S101 in FIG. 2 receives input from the user and the inputable attribute name display processing unit 202 displays inputable attribute names, and FIG. 4 is a screen for receiving search conditions. It is a figure which shows an example.

図5は入力可能候補リスト404のスキーマ601とデータ格納例602を示す図、図6は入力可能候補の画面例を示す図、図7は1つの属性が入力された後に次の入力可能候補となる属性名を表示する画面例を示す図である。   FIG. 5 is a diagram showing a schema 601 and a data storage example 602 of the input-possible candidate list 404, FIG. 6 is a diagram showing an example of an input-possible candidate screen, and FIG. 7 shows the next input-possible candidate after one attribute is input. It is a figure which shows the example of a screen which displays the attribute name which becomes.

図8は図2のステップS102における検索キー作成部301が検索キーを作成する処理手順を示すフローチャート、図9は属性名リストのスキーマとデータ格納例を示す図である。   FIG. 8 is a flowchart showing a processing procedure for creating a search key by the search key creation unit 301 in step S102 of FIG. 2, and FIG. 9 is a diagram showing an attribute name list schema and a data storage example.

図10は図2のステップS103におけるインデックス検索部302が検索キーの検索により、データIDを取得する処理手順を示すフローチャート、図11はインデックスDB401のスキーマとデータ格納例を示す図、図12は対応リストのスキーマとデータ格納例を示す図である。   FIG. 10 is a flowchart showing a processing procedure in which the index search unit 302 obtains a data ID by searching for a search key in step S103 of FIG. 2, FIG. 11 shows a schema of the index DB 401 and a data storage example, and FIG. It is a figure which shows the schema of a list, and a data storage example.

図13は図2のステップS104における実体データIDリスト作成部303が、データIDのフィルタリングをして、実体データを取得するための実体データIDリストを作成する処理手順を示すフローチャート、図14は対応リストのデータIDマージ例を示す図、図15は実体データIDリストの作成例を示す図である。   FIG. 13 is a flowchart showing a processing procedure in which the entity data ID list creation unit 303 in step S104 of FIG. 2 creates an entity data ID list for acquiring the entity data by filtering the data ID, and FIG. FIG. 15 is a diagram showing an example of data ID merging of lists, and FIG. 15 is a diagram showing an example of creating an entity data ID list.

図16は図2のステップS105における実体データ取得部304が実体データを取得する処理手順を示すフローチャート、図17は実体DB402のスキーマとデータ格納例を示す図、図18は検索結果表示画面の例を示す図である。   16 is a flowchart showing a processing procedure in which the entity data acquisition unit 304 acquires entity data in step S105 of FIG. 2, FIG. 17 is a diagram showing an example of the schema and data storage of the entity DB 402, and FIG. 18 is an example of a search result display screen. FIG.

[図2のステップS101の処理手順]
まず、図2のステップS101における入力部201がユーザから入力を受け付け、入力可能属性名表示処理部202で入力可能な属性名を表示する処理手順は、図3に示すように、入力部201はユーザから検索文字列の入力を受け付ける(ステップS201)。
[Processing Procedure of Step S101 in FIG. 2]
First, as shown in FIG. 3, the input unit 201 accepts input from the user in step S101 of FIG. 2 and displays the inputable attribute name in the inputable attribute name display processing unit 202. An input of a search character string is received from the user (step S201).

このときのユーザの入力を受け付けるUIの例を図4に示す。   FIG. 4 shows an example of a UI that accepts user input at this time.

UIには、図4に示すように、入力を受け付けるためのテキストフィールド501と検索を実行時に押下する検索実行ボタン502を持つ。   As shown in FIG. 4, the UI has a text field 501 for accepting input and a search execution button 502 for pressing a search at the time of execution.

次に、検索単語と属性名の区切り文字が入力されるかどうかを判定する(ステップS202)。ここでは例として、検索単語と属性名の区切り文字を「:(コロン)」として説明するが、区切りが判定できる文字であれば、どのような文字でも良い。   Next, it is determined whether or not a delimiter between the search word and the attribute name is input (step S202). Here, as an example, the delimiter between the search word and the attribute name will be described as “: (colon)”, but any character can be used as long as the delimiter can be determined.

ステップS202で区切り文字としてのコロンが入力された場合は、入力されている検索単語を取得して、入力可能候補リスト404を検索してその検索単語が持つ属性ビットを取得する(ステップS203)。   When a colon as a delimiter is input in step S202, the input search word is acquired, and the input possibility candidate list 404 is searched to acquire the attribute bits of the search word (step S203).

ステップS202で区切り文字としてのコロンが入力されない場合は、入力の終了判定(ステップS208)に進む。   If a colon as a delimiter is not input in step S202, the process proceeds to input end determination (step S208).

図5に入力可能候補リスト404のスキーマ601とデータ格納例602を示す。ブログ本文などのテキストの部分についてはテキストを形態素解析して単語に分割して、その単語に対して入力可能候補を格納する。入力可能候補は、その単語を値として持つ属性の名前である。   FIG. 5 shows a schema 601 and a data storage example 602 of the input possibility candidate list 404. For a text portion such as a blog body, the text is divided into words by morphological analysis, and inputable candidates are stored for the word. An inputable candidate is an attribute name having the word as a value.

そして、入力可能属性名表示処理部202は、入力可能候補リスト404を検索で取得した入力可能候補をテキストフィールドに表示させる(ステップS204)。   Then, the inputable attribute name display processing unit 202 displays the inputable candidates obtained by searching the inputable candidate list 404 in the text field (step S204).

図5に示す例の場合に、「旅行」という検索単語を入力して、コロンを入力したとき、入力可能候補として「カテゴリ」、「ブログ本文」が取得される。この取得された入力可能候補はリストとして表示される。   In the case of the example shown in FIG. 5, when a search word “travel” is input and a colon is input, “category” and “blog text” are acquired as input possible candidates. The acquired input possible candidates are displayed as a list.

図6に入力可能候補の画面例を示す。図6に示す例では、「カテゴリ」、「ブログ本文」が表示されている。   FIG. 6 shows an example of a screen for inputable candidates. In the example shown in FIG. 6, “category” and “blog text” are displayed.

表示された入力可能候補のリストのうち1つの属性名を選択すると選択した属性名がテキストフィールドに入力される(ステップS205)。   When one attribute name is selected from the displayed list of input candidates, the selected attribute name is input to the text field (step S205).

そして、属性名入力後に属性名の区切り文字としてのカンマが入力されるかを判定する(ステップS206)。ステップS206で属性名の区切り文字としてのカンマが入力された場合は、入力可能候補を表示するステップS204の処理に戻り、属性名の表示を行う。   Then, it is determined whether or not a comma as an attribute name delimiter is input after the attribute name is input (step S206). If a comma as an attribute name delimiter is input in step S206, the process returns to the process of step S204 for displaying inputable candidates, and the attribute name is displayed.

このとき、既に入力済みである属性名は、表示する入力可能候補から除外する。表示する入力可能候補の表示例を図7に示す。図7に示す例では、例えば、既に入力済みである属性名が「ブログ本文」であり、「カテゴリ」のみが表示されている。   At this time, attribute names that have already been input are excluded from the inputable candidates to be displayed. A display example of the input-capable candidates to be displayed is shown in FIG. In the example illustrated in FIG. 7, for example, the attribute name that has already been input is “blog body”, and only “category” is displayed.

属性名の入力処理(ステップS204〜ステップS205)は、1つの検索単語の入力に対して繰り返し処理することが可能で、1つの検索単語に対して複数の属性名を入力することも可能である。   The attribute name input process (steps S204 to S205) can be repeated for the input of one search word, and a plurality of attribute names can be input for one search word. .

また、ステップS206で属性名入力後に属性名の区切り文字としてのカンマが入力されなかった場合、検索条件の区切り文字の空白文字が入力されるかを判定する(ステップS207)。ステップS207で空白文字が入力された場合は、別の検索条件を受け付けるため、ステップS201に戻る。   If a comma as an attribute name delimiter is not input after the attribute name is input in step S206, it is determined whether or not a blank character as a search condition delimiter is input (step S207). If a blank character is input in step S207, the process returns to step S201 to accept another search condition.

また、ステップS207で空白文字が入力されなかった場合は、入力の終了判定を行う(ステップS208)。   If no blank character is input in step S207, the input end determination is performed (step S208).

入力の終了と判定される場合は、例えば、図4に示すUIで示した検索実行ボタン502を押下したときである。   The case where it is determined that the input is finished is, for example, when the search execution button 502 indicated by the UI shown in FIG. 4 is pressed.

ステップS208で入力の終了と判定された場合は、テキストフィールドに入力された検索文字列を検索キー作成部に送り(ステップS209)、ステップS208で入力の終了と判定されない場合は、ステップS201に戻る。   If it is determined in step S208 that the input has been completed, the search character string input in the text field is sent to the search key creation unit (step S209). If it is not determined in step S208 that the input has been completed, the process returns to step S201. .

[図2のステップS102の処理手順]
また、図2のステップS102における検索キー作成部301が検索キーを作成する処理手順は、図8に示すように、まず、検索キー作成部301は、入力部201からユーザが入力した検索文字列を受け取り、検索文字列を区切り文字(例えば、空白文字)で検索条件に分割する(ステップS301)。
[Processing Procedure of Step S102 of FIG. 2]
The processing procedure for creating the search key by the search key creation unit 301 in step S102 in FIG. 2 is as follows. First, as shown in FIG. And the search character string is divided into search conditions by a delimiter (for example, a blank character) (step S301).

次に、検索条件から検索キーを作成するため、検索キーを作成していない検索条件があるかを判定する(ステップS302)。   Next, in order to create a search key from the search condition, it is determined whether there is a search condition for which no search key has been created (step S302).

ステップS302で検索キーを作成していない検索条件があれば、その検索条件を取得して属性名が指定されているかを判定する(ステップS303)。   If there is a search condition for which no search key has been created in step S302, the search condition is acquired to determine whether an attribute name is specified (step S303).

ステップS303で属性名が指定されている場合は、区切り文字(例えば、コロン)により、検索条件を検索単語と属性名に分割し(ステップS304)、属性名リスト403を読み込む(ステップS305)。   If an attribute name is specified in step S303, the search condition is divided into a search word and an attribute name by a delimiter (for example, a colon) (step S304), and the attribute name list 403 is read (step S305).

その後、属性名リスト403と入力された属性名の比較を行い、属性ビットを作成する(ステップS306)。   Thereafter, the attribute name list 403 is compared with the input attribute name to create an attribute bit (step S306).

属性名リスト403のスキーマ701と格納例702を図9に示す。   FIG. 9 shows a schema 701 and a storage example 702 of the attribute name list 403.

属性名リスト403には、データの持つ属性名が格納されている。入力された属性名は、複数ある場合には、区切り文字(例えば、カンマ)により分割して、それぞれを属性リストと比較する。   The attribute name list 403 stores attribute names of data. When there are a plurality of input attribute names, they are divided by a delimiter (for example, a comma) and each is compared with an attribute list.

例えば、属性名リスト403が{カテゴリ、作成者、作成日、更新日、ブログ本文}で、入力された属性名が「作成者」の場合、属性名リストの左から2番目に「作成者」が含まれるため、そのビットを1として残りのビットを0とする「01000」の属性ビットが得られる。「カテゴリ、ブログ本文」の場合には、属性ビット「10001」が得られる。   For example, when the attribute name list 403 is {category, creator, creation date, update date, blog body text} and the input attribute name is “creator”, “creator” is the second from the left in the attribute name list. Therefore, an attribute bit of “01000” is obtained in which the bit is 1 and the remaining bits are 0. In the case of “category, blog text”, the attribute bit “10001” is obtained.

属性ビットが得られたら、属性ビットと入力された検索単語を区切り文字(例えば、コロン)で連結して、検索キーを作成する(ステップS308)。   When the attribute bit is obtained, the search bit is created by connecting the attribute bit and the input search word with a delimiter (for example, a colon) (step S308).

例として、「旅行:ブログ本文」が検索条件であった場合、検索キーは「00001:旅行」となる。   For example, when “travel: blog text” is a search condition, the search key is “00001: travel”.

また、ステップS303で属性名が指定されず、検索単語だけが指定されている場合は、全ての属性とテキストを検索対象とするため、全てのパターンの属性ビットを作成する(ステップS307)。   If the attribute name is not specified in step S303 and only the search word is specified, all the attributes and text are to be searched, and attribute bits of all patterns are created (step S307).

属性名リストが5つであった場合、全てに値が含まれないことを表す「00000」を除く5桁のビットの全てのパターン、つまり、「00001」「00010」…「11110」「11111」の31個が属性ビットとして作成される。   If there are five attribute name lists, all patterns of five digits except “00000” indicating that all values are not included, that is, “00001” “00010”... “11110” “11111” Are created as attribute bits.

属性ビットが作成されたら、まったく属性を選ばない00000を除いた全てのパターンの検索キーを作成する(ステップS308)。   When the attribute bits are created, search keys for all patterns except 00000 for which no attribute is selected are created (step S308).

例えば、「沖縄」が検索条件であった場合、「00001:沖縄」、「00010:沖縄」…「11110:沖縄」「11111:沖縄」の31個の検索キーが作成される。   For example, if “Okinawa” is the search condition, 31 search keys of “00001: Okinawa”, “00010: Okinawa”... “11110: Okinawa”, “11111: Okinawa” are created.

検索キーが作成されたら、作成した検索キーを検索キーリストに追加する(ステップS309)。   When the search key is created, the created search key is added to the search key list (step S309).

検索キーリストは、作成された検索キーを保持するためのリストで、{10000:旅行、00001:沖縄、00010:沖縄、…、11110:沖縄、11111:沖縄}の形式で保持される。   The search key list is a list for holding the created search keys, and is held in the format of {10000: Travel, 00001: Okinawa, 00010: Okinawa, ..., 11110: Okinawa, 11111: Okinawa}.

ステップS309で検索キーを追加したら、検索キーを作成していない検索条件があるかのステップS302の判定に戻る。   If a search key is added in step S309, the process returns to the determination in step S302 as to whether there is a search condition for which no search key has been created.

ステップS302で検索キーを作成していない検索条件がなく、全ての検索条件に対して検索キーが作成されたら、検索キーリストをインデックス検索部302に送付する(ステップS310)。   If there is no search condition for which no search key has been created in step S302 and search keys have been created for all search conditions, the search key list is sent to the index search unit 302 (step S310).

[図2のステップS103の処理手順]
また、図2のステップS103におけるインデックス検索部302が検索キーの検索により、データIDを取得する処理手順は、図10に示すように、まず、インデックス検索部302は、検索キー作成部301から検索キーリストを取得する(ステップS401)。
[Processing Procedure of Step S103 in FIG. 2]
In addition, as shown in FIG. 10, the index search unit 302 first searches the search key creation unit 301 from the search key creation unit 301 in order to obtain the data ID by searching the search key in step S103 of FIG. A key list is acquired (step S401).

検索キーリストを取得したら、インデックスDB401をから検索キーに一致するキーを探し出し、そのキーに紐づくデータIDのリストを取得する(ステップS402)。   When the search key list is acquired, a key matching the search key is searched from the index DB 401, and a list of data IDs associated with the key is acquired (step S402).

図11にインデックスDB401のスキーマ801とデータ格納例802を示す。   FIG. 11 shows a schema 801 of the index DB 401 and a data storage example 802.

インデックスDB401には、属性ビットと属性に格納されている属性値を区切り文字(例えば、コロン)で結合した文字列をキー、そのキーの条件に適合するデータIDのリストをバリューとするデータが格納されている。   The index DB 401 stores data in which a character string obtained by combining attribute bits and attribute values stored in the attributes with a delimiter (for example, a colon) is a key, and a list of data IDs that meet the key conditions is a value. Has been.

インデックスDB401には、属性に対するインデックスに加えて、テキストに対するインデックスも格納される。   The index DB 401 stores an index for text in addition to an index for attributes.

属性ビットとは、その属性値がどの属性に含まれているかをビットで表現した文字列で、データのカラム数分のビットが並び、値が含まれている場合は1、含まれていない場合は0で表現される。   An attribute bit is a character string that indicates which attribute value the attribute value is included in. The number of bits is the same as the number of columns in the data. If the value is included, 1 is included. Is represented by zero.

テキストに対するインデックスは、テキストを形態素解析して分割した単語に対してそれぞれ作成する。   An index for text is created for each word divided by morphological analysis of the text.

例として、データに{カテゴリ、作成者、作成日、更新日、ブログ本文}があり、ぞれぞれに{旅行、田中、20120925、20120925、沖縄に遊びに行った。}という値を持つ場合、「旅行」の属性ビットは「10001」、「田中」の属性ビットは「01000」、「20120925」の属性ビットは「00110」のようになる。   As an example, there are {category, creator, creation date, update date, blog text} in the data, and {travel, Tanaka, 20120925, 201202025, and Okinawa, respectively, went to play. }, The attribute bits for “travel” are “10001”, the attribute bits for “Tanaka” are “01000”, and the attribute bits for “20120925” are “00110”.

また、ブログ本文である「沖縄に遊びに行った。」というテキストは、「沖縄」「遊び」「行った」という単語に分割され、「00001」の属性ビットがつけられる。   In addition, the text “I went to Okinawa to play”, which is the blog text, is divided into the words “Okinawa”, “Play” and “I went”, and an attribute bit of “00001” is attached.

このとき単語は動詞の原型にする等の名寄せを行って変換した単語に対してインデックスを作成しても良い。データIDは、データを一意に識別するためにつけられた番号であり、RDBでの主キーに相当するものである。   At this time, the words may be indexed with respect to the converted words by performing name identification such as making a verb verb. The data ID is a number assigned to uniquely identify data, and corresponds to a primary key in the RDB.

データIDのリストを取得したら、検索キーとデータIDのリストの対応リストを作成する(ステップS403)。図12に対応リストのスキーマ901と格納例の一部902を示す。   When the list of data IDs is acquired, a correspondence list between the search key and the list of data IDs is created (step S403). FIG. 12 shows a correspondence list schema 901 and a part 902 of a storage example.

対応リストを作成したら、対応リストを実体データIDリスト作成部303に送付する(ステップS404)。   After the correspondence list is created, the correspondence list is sent to the entity data ID list creation unit 303 (step S404).

[図2のステップS104の処理手順]
また、図2のステップS104における実体データIDリスト作成部303が、データIDのフィルタリングをして、実体データを取得するための実体データIDリストを作成する処理手順は、図13に示すように、まず、実体データIDリスト作成部303は、検索キー作成部301から、対応リストを取得する(ステップS501)。
[Processing Procedure of Step S104 in FIG. 2]
Further, the processing procedure for the entity data ID list creation unit 303 in step S104 of FIG. 2 to create the entity data ID list for acquiring the entity data by filtering the data ID is as shown in FIG. First, the entity data ID list creation unit 303 acquires a correspondence list from the search key creation unit 301 (step S501).

対応リストを取得後、検索条件ごとにデータIDのリストをマージする(ステップS502)。対応リストは、検索キーとデータIDの対応で作成されているが、1つの検索条件から複数の検索キーが作成される場合があるため、データIDをマージする必要がある。   After acquiring the correspondence list, the list of data IDs is merged for each search condition (step S502). The correspondence list is created by the correspondence between the search key and the data ID. However, since a plurality of search keys may be created from one search condition, it is necessary to merge the data IDs.

検索条件は、必ず1つの検索単語を持つため、検索単語が一致している検索キーに紐づくデータIDを1つのリストにまとめる。   Since the search condition always has one search word, the data IDs associated with the search keys matching the search word are collected in one list.

データIDリストのマージの例を図14に示す。対応リスト1001には、「旅行:カテゴリ」と「沖縄」という検索条件に対応する検索キーとデータIDを持っている。   An example of merging data ID lists is shown in FIG. The correspondence list 1001 has search keys and data IDs corresponding to the search conditions “travel: category” and “Okinawa”.

「沖縄」は、31個の検索キーが作成されるため、この検索キーをマージして1つのデータIDのリストとする。マージ後には、2つの検索単語に対応するデータIDのリスト1002が作成される。   Since “Okinawa” has 31 search keys, the search keys are merged into a list of one data ID. After merging, a list 1002 of data IDs corresponding to two search words is created.

対応リストのデータIDのマージ完了後、検索単語をキーとして作成されたマージ後の対応リストから、取得する実体データの実体データIDリストを作成する(ステップS503)。   After merging the data IDs of the correspondence list, an entity data ID list of the entity data to be acquired is created from the merged correspondence list created using the search word as a key (step S503).

例として、今回は入力された検索条件は全てAND条件とした場合、それぞれの検索単語の持つデータIDリストの積集合を求めて、その積集合を実体データIDリストとする。   As an example, when all the input search conditions are AND conditions this time, a product set of data ID lists possessed by each search word is obtained, and the product set is used as an entity data ID list.

入力時の検索条件を区切り文字(例:&、|など)にして、それぞれの区切り文字に対応する論理式(AND、OR)を条件として、実体データIDリストを求めることもできる。   The search condition at the time of input can be set as a delimiter (eg, &, |, etc.), and the entity data ID list can be obtained using a logical expression (AND, OR) corresponding to each delimiter as a condition.

実体データIDリストの作成例を図15に示す。図15のマージ後の対応リスト1101で全ての検索条件のANDで実体データIDリスト1102を求める場合、{10001、10007、10008}と{10001、10009}の積集合である{10001}が実体データIDリストとして求められる。   An example of creation of the entity data ID list is shown in FIG. When the entity data ID list 1102 is obtained by ANDing all the search conditions in the merged correspondence list 1101 of FIG. It is obtained as an ID list.

最後に、実体データIDリストを実体データ取得部304に送付する(ステップS504)。   Finally, the entity data ID list is sent to the entity data acquisition unit 304 (step S504).

[図2のステップS105の処理手順]
また、図2のステップS105における実体データ取得部304が実体データを取得する処理手順は、図16に示すように、まず、実体データ取得部304は、実体データIDリスト作成部303から実体データIDリストを取得する(ステップS601)。
[Processing Procedure of Step S105 in FIG. 2]
Further, the processing procedure in which the entity data acquisition unit 304 acquires the entity data in step S105 of FIG. 2 is as follows. First, the entity data acquisition unit 304 receives the entity data ID from the entity data ID list creation unit 303 as shown in FIG. A list is acquired (step S601).

そして、実体データIDリストに格納されているデータIDの実体データを実体DB402から取得する(ステップS602)。   Then, the entity data of the data ID stored in the entity data ID list is acquired from the entity DB 402 (step S602).

図17に実体DB402のスキーマ1201とデータ格納例1202に示す。   FIG. 17 shows a schema 1201 of the entity DB 402 and a data storage example 1202.

実体DB402から実体データを取得したら、取得した実体データを表示部203に送付する(ステップS603)。   When the entity data is acquired from the entity DB 402, the acquired entity data is sent to the display unit 203 (step S603).

表示部203は実体データ取得部304から実体データを受け取り、検索結果表示画面に検索結果を表示する(図2のステップS106)。検索結果の表示画面例を図18に示す。   The display unit 203 receives the entity data from the entity data acquisition unit 304 and displays the search result on the search result display screen (step S106 in FIG. 2). An example of a search result display screen is shown in FIG.

検索結果表示画面は、図18に示すように、入力された検索条件を表示するテキストフィールド1301と検索結果の一覧を表示する表1302と検索結果一覧表の中から選択した1件の属性を表示するテキストフィールド1303を持つ。   As shown in FIG. 18, the search result display screen displays a text field 1301 for displaying the input search condition, a table 1302 for displaying a list of search results, and one attribute selected from the search result list. Has a text field 1303.

入力された検索条件を表示するテキストフィールド1301には、入力された検索条件を表示する。   In the text field 1301 for displaying the input search condition, the input search condition is displayed.

属性名が指定されている検索条件の場合には、「属性名=検索単語」の形式で表示して、属性名が指定されていない検索条件の場合は、「入力検索単語 検索単語」の形式で表示する。   If the search condition specifies an attribute name, it is displayed in the format of “attribute name = search word”. If the search condition does not specify an attribute name, the format is “input search word search word”. Is displayed.

検索結果一覧表(1302)には、検索結果として得られた実体データの一覧を表形式で表示する。   The search result list (1302) displays a list of entity data obtained as search results in a table format.

検索結果一覧表には実体データの持つ全ての属性を表のカラムとして表示しても良いし、UIの設計する人が選択して一部の属性だけを表示しても良い。   In the search result list, all the attributes of the entity data may be displayed as table columns, or only a part of the attributes may be selected by the person who designs the UI.

検索結果詳細(1303)には、検索結果一覧表から選択した1件に対応した実体データの全ての属性とテキストを表示する。   In the search result details (1303), all attributes and text of the entity data corresponding to one item selected from the search result list are displayed.

以上の処理により、自由な書式で記述された文章を含む多次元データを対象とした検索において、ユーザが属性検索により、検索対象データの範囲を絞りつつ、テキスト検索を行うことが可能になり、ユーザの目的とするデータの抽出が容易になる。   Through the above processing, in the search for multidimensional data including sentences described in a free format, it becomes possible for the user to perform a text search while narrowing the range of the search target data by attribute search, Extraction of data intended by the user is facilitated.

また、本発明は、自由な書式で記述されたテキストなどの文章と属性の両方を持つデータが蓄積されていく業務において、データ検索が必要な場合、その作業の支援を行うことができる。   In addition, the present invention can assist the work in the case where data retrieval is necessary in a business in which data having both sentences and attributes such as text described in a free format is accumulated.

例えば、ヘルプデスク業務において、オペレータがユーザからの問合せに対して、過去の問合せ履歴を検索して、その検索結果を参考にしてユーザに回答を行うことができる。   For example, in a help desk operation, an operator can search a past inquiry history in response to an inquiry from a user, and answer the user with reference to the search result.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say.

100…ユーザ、101…計算機システム、200…検索管理サブシステム、201…入力部、202…入力可能属性名表示処理部、203…表示部、300…検索サブシステム、301…検索キー作成部、302…インデックス検索部、303…実体データIDリスト作成部、304…実体データ取得部、400…検索対象DB群、401…インデックスDB、402…実体DB、403…属性名リスト、404…入力可能候補リスト、501…テキストフィールド、502…検索実行ボタン。   DESCRIPTION OF SYMBOLS 100 ... User, 101 ... Computer system, 200 ... Search management subsystem, 201 ... Input part, 202 ... Inputable attribute name display processing part, 203 ... Display part, 300 ... Search subsystem, 301 ... Search key creation part, 302 ... index search unit, 303 ... entity data ID list creation unit, 304 ... entity data acquisition unit, 400 ... search target DB group, 401 ... index DB, 402 ... entity DB, 403 ... attribute name list, 404 ... input possible candidate list 501 ... Text field, 502 ... Search execution button.

Claims (5)

自由な書式で記述された文章を含む多次元データを対象として、検索処理を行う検索システムであって、
ユーザに対して検索処理に関連する情報を表示する表示部と、
前記表示部の表示情報に基づいた前記ユーザからの検索文字列および前記検索文字列に対する属性情報を入力する入力部と、
前記検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、
前記多次元データに関する情報が格納された実体データベースと、
前記入力部から入力された前記検索文字列および前記入力可能候補リストに基づいて、前記検索文字列に対する入力可能な属性情報を前記表示部に表示させる入力可能属性名表示処理部と、
前記表示部に表示された前記入力可能な属性情報に基づいた前記入力部から入力された属性情報および前記検索文字列に基づいて、前記属性情報を含む検索キーを作成する検索キー作成部と、
前記検索キーに基づいた前記多次元データの検索情報に基づいて、前記実体データベースを検索し、検索結果を前記表示部に表示させる実体データ取得部と、
を備えた、検索システム。
A search system that performs search processing for multidimensional data including sentences described in a free format,
A display for displaying information related to the search process to the user;
An input unit for inputting a search character string from the user based on display information of the display unit and attribute information for the search character string;
An inputable candidate list in which attribute information that can be input for the search character string is stored;
An entity database in which information about the multidimensional data is stored;
Based on the search character string input from the input unit and the input possible candidate list, an inputable attribute name display processing unit that displays attribute information that can be input to the search character string on the display unit;
A search key creating unit for creating a search key including the attribute information based on the attribute information and the search character string input from the input unit based on the inputable attribute information displayed on the display unit;
Based on the search information of the multi-dimensional data based on the search key, the entity database is searched, and a search result is displayed on the display unit;
Search system with
請求項1に記載の検索システムにおいて、
前記検索キー作成部は、前記入力可能な属性情報に基づいた前記入力部から入力された複数の属性情報および前記検索文字列に基づいて、前記属性情報を含む検索キーを作成する、検索システム。
The search system according to claim 1,
The search system, wherein the search key creation unit creates a search key including the attribute information based on a plurality of attribute information input from the input unit based on the inputable attribute information and the search character string.
請求項1に記載の検索システムにおいて、
前記実体データベースは、データIDに紐ついた前記多次元データのテキストと属性を1つにまとめた実体データが格納され、
前記属性情報に対するインデックスおよび前記検索文字列のテキストに対するインデックスが格納されたインデックスデータベースと、
前記検索キーに基づいて、前記インデックスデータベースを検索し、前記検索キーの条件に一致する前記データIDのリストを取得するインデックス検索部と、
前記データIDのリストおよび前記属性情報で指定された条件に基づいて、全ての条件に当てはまる前記多次元データの検索情報の実体データIDリストを作成する実体データIDリスト作成部と、
を備えた、検索システム。
The search system according to claim 1,
The entity database stores entity data in which text and attributes of the multidimensional data associated with a data ID are combined into one,
An index database storing an index for the attribute information and an index for the text of the search string;
An index search unit that searches the index database based on the search key and obtains a list of the data IDs that match the search key condition;
An entity data ID list creation unit that creates an entity data ID list of search information of the multidimensional data that applies to all conditions based on the conditions specified in the list of data IDs and the attribute information;
Search system with
ユーザに対して検索処理に関連する情報を表示する表示部と、前記表示部の表示情報に基づいた前記ユーザからの検索文字列および前記検索文字列に対する属性情報を入力する入力部と、前記検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、多次元データに関する情報が格納された実体データベースと、を備え、自由な書式で記述された文章を含む前記多次元データを対象として、検索処理を行う検索システムにおける検索方法であって、
入力可能属性名表示処理部で、前記入力部から入力された前記検索文字列および前記入力可能候補リストに基づいて、前記検索文字列に対する入力可能な属性情報を前記表示部に表示させるステップと、
検索キー作成部で、前記表示部に表示された前記入力可能な属性情報に基づいた前記入力部から入力された属性情報および前記検索文字列に基づいて、前記属性情報を含む検索キーを作成するステップと、
実体データ取得部で、前記検索キーに基づいた前記多次元データの検索情報に基づいて、前記実体データベースを検索し、検索結果を前記表示部に表示させるステップと、
を有する、検索方法。
A display unit for displaying information related to search processing for the user, an input unit for inputting a search character string from the user based on the display information of the display unit and attribute information for the search character string, and the search The multidimensional data including a sentence described in a free format, comprising: an inputable candidate list storing inputable attribute information for a character string; and an entity database storing information about the multidimensional data. As a search method in a search system for performing a search process,
In the inputable attribute name display processing unit, based on the search character string input from the input unit and the inputable candidate list, displayable attribute information for the search character string on the display unit;
The search key creation unit creates a search key including the attribute information based on the attribute information input from the input unit based on the inputable attribute information displayed on the display unit and the search character string. Steps,
In the entity data acquisition unit, searching the entity database based on the search information of the multidimensional data based on the search key, and displaying the search result on the display unit;
A search method.
ユーザに対して検索処理に関連する情報を表示する表示部と、前記表示部の表示情報に基づいた前記ユーザからの検索文字列および前記検索文字列に対する属性情報を入力する入力部と、前記検索文字列に対する入力可能な属性情報が格納された入力可能候補リストと、多次元データに関する情報が格納された実体データベースと、を備えた計算機システムを用いて、自由な書式で記述された文章を含む前記多次元データを対象として、検索処理を行う検索プログラムであって、
前記計算機システムを、
前記入力部から入力された前記検索文字列および前記入力可能候補リストに基づいて、前記検索文字列に対する入力可能な属性情報を前記表示部に表示させる入力可能属性名表示処理部と、
前記表示部に表示された前記入力可能な属性情報に基づいた前記入力部から入力された属性情報および前記検索文字列に基づいて、前記属性情報を含む検索キーを作成する検索キー作成部と、
前記検索キーに基づいた前記多次元データの検索情報に基づいて、前記実体データベースを検索し、検索結果を前記表示部に表示させる実体データ取得部として機能させる、
検索プログラム。
A display unit for displaying information related to search processing for the user, an input unit for inputting a search character string from the user based on the display information of the display unit and attribute information for the search character string, and the search Includes sentences written in free format using a computer system having an inputable candidate list storing inputable attribute information for a character string and an entity database storing information on multidimensional data A search program for performing a search process on the multidimensional data,
The computer system is
Based on the search character string input from the input unit and the input possible candidate list, an inputable attribute name display processing unit that displays attribute information that can be input to the search character string on the display unit;
A search key creating unit for creating a search key including the attribute information based on the attribute information and the search character string input from the input unit based on the inputable attribute information displayed on the display unit;
Based on the search information of the multidimensional data based on the search key, search the entity database, and function as an entity data acquisition unit that displays the search result on the display unit,
Search program.
JP2013070222A 2013-03-28 2013-03-28 Retrieval system, retrieval method and retrieval program Pending JP2014194608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013070222A JP2014194608A (en) 2013-03-28 2013-03-28 Retrieval system, retrieval method and retrieval program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013070222A JP2014194608A (en) 2013-03-28 2013-03-28 Retrieval system, retrieval method and retrieval program

Publications (1)

Publication Number Publication Date
JP2014194608A true JP2014194608A (en) 2014-10-09

Family

ID=51839837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013070222A Pending JP2014194608A (en) 2013-03-28 2013-03-28 Retrieval system, retrieval method and retrieval program

Country Status (1)

Country Link
JP (1) JP2014194608A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139347A (en) * 1997-07-24 1999-02-12 Nec Corp Text retrieval system, index generation device, text retrieval device and recording medium which computer can read
JP2004289848A (en) * 2003-03-24 2004-10-14 Microsoft Corp Free text and attribute searching of electronic program guide (epg) data
JP2005158044A (en) * 2003-10-30 2005-06-16 Fujitsu Ltd Apparatus, method and program for information retrieval, and computer-readable recording medium stored with this program
JP2012528406A (en) * 2009-05-27 2012-11-12 マイクロソフト コーポレーション Merging search results

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139347A (en) * 1997-07-24 1999-02-12 Nec Corp Text retrieval system, index generation device, text retrieval device and recording medium which computer can read
JP2004289848A (en) * 2003-03-24 2004-10-14 Microsoft Corp Free text and attribute searching of electronic program guide (epg) data
JP2005158044A (en) * 2003-10-30 2005-06-16 Fujitsu Ltd Apparatus, method and program for information retrieval, and computer-readable recording medium stored with this program
JP2012528406A (en) * 2009-05-27 2012-11-12 マイクロソフト コーポレーション Merging search results

Similar Documents

Publication Publication Date Title
KR100995861B1 (en) Module and method for searching named entity of terms from the named entity database using named entity database and mining rule merged ontology schema
JP6390139B2 (en) Document search device, document search method, program, and document search system
US20120179709A1 (en) Apparatus, method and program product for searching document
WO2014167647A1 (en) Data management device, date management method, and permanent storage medium
JP2015028736A (en) Tabular format multi-dimensional data conversion method and apparatus
US9990444B2 (en) Apparatus and method for supporting visualization of connection relationship
US20090144318A1 (en) System for searching research data
JP2015162004A (en) Inter-development document trace link generation support device and method and program
US9886497B2 (en) Indexing presentation slides
JP2014089646A (en) Electronic data processor and electronic data processing method
JP2006023968A (en) Unique expression extracting method and device and program to be used for the same
JP2014102625A (en) Information retrieval system, program, and method
JP2018005633A (en) Related content extraction device, related content extraction method, and related content extraction program
CN108614821B (en) Geological data interconnection and mutual-checking system
US20090144265A1 (en) Search engine for searching research data
JP2018156552A (en) Computer system and method for searching text data
JP6775740B1 (en) Design support device, design support method and design support program
JP7340952B2 (en) Template search system and template search method
JP5826148B2 (en) Drawing management server and drawing management system using the same
US20090144317A1 (en) Data search markup language for searching research data
JP2014194608A (en) Retrieval system, retrieval method and retrieval program
WO2020183538A1 (en) Computer system and processing method in which data stored in data lake is used
JP2008210229A (en) Device, method and program for retrieving intellectual property information
JP6707410B2 (en) Document search device, document search method, and computer program
JP6524668B2 (en) Document retrieval apparatus, document retrieval method, program,

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170502