Systems, methods, and software for retrieving information using multiple query languages
An exemplary method comprises receiving a description of query language; and automatically configuring a language converter based on the received description of the query language. The language converter, or translator, can be used to adapt a system to changing query languages.
1 . A method comprising:
receiving a description of query language; and
automatically configuring a language converter based on the received description of the query language.
2 . The method of claim 1 , further comprising:
receiving a user query over an Internet connection from a client access device;
processing the user query using the automatically configured language converter to define a normalized query;
using a first translated version of the normalized query to identify documents in a first database;
using a second translated version of the normalized query to identify documents in a second database; and
returning search results identifying documents from the first and second databases to the client access device.
3 . The method of claim 1 , wherein automatically configuring the language converter comprises receiving at one XML style sheet and configuring a parser based on the XML style sheet.
4 . The method of claim 1 , wherein the normalized query has an abstract syntax tree.
5 . A system comprising:
means for receiving a description of query language; and
means for automatically configuring a language converter based on the received description of the language converter.
6 . The system of claim 5 , further comprising:
means for receiving a user query over an Internet connection from a client access device;
means for processing the user query using the automatically configured language converter to define a normalized query;
means, responsive to a first translated version of the normalized query, to identify documents in a first database;
means, responsive to a second translated version of the normalized query, to identify documents in a second database; and
means for returning search results identifying documents from the first and second databases to the client access device.
7 . An information-retrieval system comprising:
means, responsive to a first query language description, for normalizing a query; and
means, responsive to second query language description, for translating the normalized query into a first target query suitable for a first predetermined database.
8 . The system of claim 7 further comprising client access device for providing the query.
9 . The system of claim 7 , further comprising means, responsive to third query language description, for translating the normalized query into a second target query suitable for a second predetermined database.
10 . The system of claim 9 , further comprising means for merging first search results from the first database based on the first query with second search results from the second database based on the second query.
11 . An information-retrieval system comprising:
a base search handler, responsive to a first query language description, for normalizing a query; and
a first parallel search handler, responsive to second query language description, for translating the normalized query into a first target query suitable for a first predetermined database.
12 . The system of claim 11 , wherein the base search handler comprises means for normalizing the query.
13 . The system of claim 11 , wherein the first parallel search handler comprises means for translating the normalized query.
14 . The system of claim 11 , further comprising a second parallel search handler, responsive to a third query language description, for translating the normalized query into a second target query suitable for a second predetermined database.