1. An indexing method comprising: receiving an input file for indexing, the input file including a word including a diacritic symbol, the diacritic symbol being a mark added to a character; storing information on the diacritic symbol in a first data structure, wherein the information includes a numeric value indicative of a position of the diacritic symbol in the word, and a representation of the diacritic symbol; stripping the word of the diacritic symbol; and storing the stripped word in a second data structure, wherein, a query engine is configured to receive an input query word and search the second data structure for an indexed word matching the input query word, wherein in response to a command to consider diacritic symbols, the query engine is further configured to retrieve the information on the diacritic symbol corresponding to the matched indexed word from the first data structure, and compare the retrieved information against information of a diacritic symbol in the input query word for determining a match.