The FAST Taxonomy Explorer contains Categorization, based on advanced Linguistic technologies that let you control the flow of information into your organization and order, access, and retrieve that data; as well as information created within your organization.
The Categorizer classifies documents and organizes information into a hierarchical or a flat set of categories.Categorization is the process of concisely defining the information within a particular doc-ument; in other words, the major topic or subject of the document. In the context of text-
based document searches, categorization is an automated process that classifies numerous text documents, placing them into a taxonomy. A taxonomy is an organized classification structure that facilitates information retrieval.The categorization process inserts category tags into the documents prior to indexing.
When the documents in an index have been categorized, end users can restrict a query to a specific category in that index. Categorizing documents increases the likelihood that your end users will obtain the meaningful results they seek for two reasons:
1. Metadata: Documents are organized and stored by category, according to
their metadata tags.
2. Filter: Queries can be filtered using the categories that you created as
part of your taxonomy.
You can also choose to categorize the end-user documents from among several languages.FAST have Taxonomy Explorer to create & test a catagory.
Showing posts with label Search Code. Show all posts
Showing posts with label Search Code. Show all posts
Thursday, August 28, 2008
Introduction - FAST Taxonomy
Labels:
ESP,
FAST,
FAST Server,
sea,
Search Code,
Search Engine,
Search SDK,
SEARCHs,
Taxonomy
Tuesday, July 22, 2008
Search Using FAST Search API
FAST Enterprises Search API gives the interface to communicate with the ESP(Enterprises Search Platform) Admin.The following way we can do the search.
1. We need the ESP Admin server IP address/ Domain Name and Port Number.
EX : String host = "172.19.61.104";
String port = "15100";
2. Then Indentify the Collection where the data's resides.
EX : String viewName = "espsystemwebcluster";
Note :The Collection Should be create in ESP Admin bfeore run the program.
3. Create the Property file to create a seasrch Factory Instances.
EX :
Properties p = new Properties();
p.setProperty("com.fastsearch.esp.search.SearchFactory",
"com.fastsearch.esp.search.http.HttpSearchFactory");
p.setProperty("com.fastsearch.esp.search.http.qrservers", hostport);
ISearchFactory searchFactory = SearchFactory.newInstance(p);
Note :qrservers - A list of QRServers that you want to connect to.It's Mandatory Property.You can map multiple servers in the same type like "qrserver1.site.com:15100, qrserver2.site.com:15100".
HttpSearchFactory - It have Some other Optional Proerties.
RequestMethod -> "GET"/"POST" (Default : "GET")
CertiticateFile -> When Use the SSL Certificate
KeepAlive -> When use the Prsistance Connections is used.
4. Once the Search Factory Instances has been created,we can get the Views of the collection.Using this view Object ,we can do the search.
EX : ISearchView view = searchFactory.getSearchView(viewName);
5. FAST ESP API give the multiple of ypes of Search Option.You can set the option with the FAST Search Query.By default ESP have their own Query Language (FQL).
EX : String query = query.replaceAll("\"", "\\\"");
String fql = "string(\"" + query + "\", mode=simpleany)";
Mode - Specifies the search option.
6. Using IQuery interface we can create the FQL Query.
EX : IQuery theQuery = new Query(fql);
7. The Pass this query to view object ,it will return the Result set.
Ex : IQueryResult result = view.search(theQuery);
This Result Interface have all the documents which is related to your query.
1. We need the ESP Admin server IP address/ Domain Name and Port Number.
EX : String host = "172.19.61.104";
String port = "15100";
2. Then Indentify the Collection where the data's resides.
EX : String viewName = "espsystemwebcluster";
Note :The Collection Should be create in ESP Admin bfeore run the program.
3. Create the Property file to create a seasrch Factory Instances.
EX :
Properties p = new Properties();
p.setProperty("com.fastsearch.esp.search.SearchFactory",
"com.fastsearch.esp.search.http.HttpSearchFactory");
p.setProperty("com.fastsearch.esp.search.http.qrservers", hostport);
ISearchFactory searchFactory = SearchFactory.newInstance(p);
Note :qrservers - A list of QRServers that you want to connect to.It's Mandatory Property.You can map multiple servers in the same type like "qrserver1.site.com:15100, qrserver2.site.com:15100".
HttpSearchFactory - It have Some other Optional Proerties.
RequestMethod -> "GET"/"POST" (Default : "GET")
CertiticateFile -> When Use the SSL Certificate
KeepAlive -> When use the Prsistance Connections is used.
4. Once the Search Factory Instances has been created,we can get the Views of the collection.Using this view Object ,we can do the search.
EX : ISearchView view = searchFactory.getSearchView(viewName);
5. FAST ESP API give the multiple of ypes of Search Option.You can set the option with the FAST Search Query.By default ESP have their own Query Language (FQL).
EX : String query = query.replaceAll("\"", "\\\"");
String fql = "string(\"" + query + "\", mode=simpleany)";
Mode - Specifies the search option.
6. Using IQuery interface we can create the FQL Query.
EX : IQuery theQuery = new Query(fql);
7. The Pass this query to view object ,it will return the Result set.
Ex : IQueryResult result = view.search(theQuery);
This Result Interface have all the documents which is related to your query.
Subscribe to:
Posts (Atom)