SearchEngine.java revision 538
260N/A * The contents of this file are subject to the terms of the 260N/A * Common Development and Distribution License (the "License"). 260N/A * You may not use this file except in compliance with the License. 260N/A * language governing permissions and limitations under the License. 260N/A * When distributing Covered Code, include this CDDL HEADER in each 260N/A * If applicable, add the following below this CDDL HEADER, with the 260N/A * fields enclosed by brackets "[]" replaced with your own identifying 260N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1235N/A * Copyright 2005 Trond Norbye. All rights reserved. 1190N/A * Use is subject to license terms. 260N/A * This is an encapsulation of the details on how to seach in the index 260N/A * Holds value of property definition. 260N/A * Holds value of property file. 1185N/A * Holds value of property freetext. 1185N/A * Holds value of property history. 1185N/A * Holds value of property symbol. 1185N/A * Holds value of property indexDatabase. 1235N/A * Creates a new instance of SearchEngine 260N/A * Execute a search. Before calling this function, you must set the 260N/A * appropriate seach critera with the set-functions. 260N/A * @return The number of hits 260N/A // search the index database * Getter for property definition. * @return Value of property definition. * Setter for property definition. * @param definition New value of property definition. * Getter for property file. * @return Value of property file. * Setter for property file. * @param file New value of property file. * Getter for property freetext. * @return Value of property freetext. * Setter for property freetext. * @param freetext New value of property freetext. * Getter for property history. * @return Value of property history. * Setter for property history. * @param history New value of property history. * Getter for property symbol. * @return Value of property symbol. * Setter for property symbol. * @param symbol New value of property symbol.