Re: Did you Mean search on Indexes created by Different Files.

2013-08-01 Thread Varun Thacker
Hi, I'm not quite sure on what you mean when you are saying that the suggestions are coming from a dictionary instead of the index. In your example, which looks okay, the suggestion will come from the the reader which is reading from your index. One thing I noticed, when you are creating the

Re: Did you Mean search on Indexes created by Different Files.

2013-08-01 Thread Ankit Murarka
Hi, I might be sounding confusing. I will list down the problem. a. Example takes the reader and I supply my own index path. b. I am analyzing the string with the same analyzer used for indexing. Dont worry. I know its a common pitfall and I have avoided it from the day 1. :) c. The

Re: Did you Mean search on Indexes created by Different Files. -Completed.

2013-08-01 Thread Ankit Murarka
This may sound bit akward but I am now able to implement Did you mean search on Indexes. The only help came from the Lucene In Action book. It occured to me that Once I create index of my documents, I need to pass these indexes to SpellCheck to create his own Index.(in a new directory

Re: Did you Mean search on Indexes created by Different Files.

2013-07-31 Thread Ankit Murarka
Can anyone please guide me on how to implement Did You Mean Search using indexes created from the supplied bunch of files as an input. On 7/31/2013 11:15 AM, Ankit Murarka wrote: Any help on this will be highly appreciated..I have been trying all possible different option but to no avail.

Re: Did you Mean search on Indexes created by Different Files.

2013-07-30 Thread Ankit Murarka
Hello. Using DirectSpellChecker is not serving my purpose. This seems to return word suggestions from a dictionary whereas I wish to return search suggestion from Indexes I created supplying my own Files (These files are generally log files). I created indexes for certain files in

Re: Did you Mean search on Indexes created by Different Files.

2013-07-30 Thread Ankit Murarka
Any help on this will be highly appreciated..I have been trying all possible different option but to no avail. Also tried LuceneDictionary BUT THIS ALSO DOES NOT SEEM TO BE HELPING... Please guide. On 7/30/2013 4:49 PM, Ankit Murarka wrote: Hello. Using DirectSpellChecker is not serving my

Did you Mean search on Indexes created by Different Files.

2013-07-29 Thread Ankit Murarka
Since I am new to this, I can't stop exploring it and trying to use different features. I am now trying to implement Did you Mean search using SpellChecker jar and Lucene jar. The problem I faced are plenty although I have got it working.. code snippet: File dir = new File(D:\\Inde\\);

Re: Did you Mean search on Indexes created by Different Files.

2013-07-29 Thread Ankit Murarka
Can anyone guide me on how to achieve the below mentioned objective. I am kind of struck and cannot figure out what is wrong. Tried spellChecker.setSpellIndex(directory); also but still no suggestions. On 7/29/2013 4:36 PM, Ankit Murarka wrote: Since I am new to this, I can't stop exploring

Re: Did you Mean search on Indexes created by Different Files.

2013-07-29 Thread Varun Thacker
Hi, On Mon, Jul 29, 2013 at 4:36 PM, Ankit Murarka ankit.mura...@rancoretech.com wrote: Since I am new to this, I can't stop exploring it and trying to use different features. I am now trying to implement Did you Mean search using SpellChecker jar and Lucene jar. The problem I faced