Re: Spell Check Handler

2008-01-26 Thread scott.tabar
R-375 >>>> >>>> Could someone please drop me a hint on how to update the wiki or any >>>> other >>>> documentation that could benefit to being updated; I'll like to >>>> help out >>>> as much >>>> as possible, but first I need to know "how". ;-) >>>> >>>> When these changes do get committed back in to the daily build, >>>> please >>>> review the generated JavaDoc for information on how to utilize >>>> these new >>>> features. >>>> If anyone has any questions, or comments, please do not hesitate >>>> to ask. >>>> >>>> >>>> As a general note of a self-critique on these changes, I am not 100% >>>> sure of the way I >>>> implemented the "nested" structure when the "multiWords" >>>> parameter is >>>> used. My interest >>>> is that it should work smoothly with some other technology such as >>>> Prototype using the >>>> JSon output type. Unfortunately, I will not be getting a chance to >>>> start on that coding until >>>> next week so it is up in the air as to if this structure will be >>>> conducive or not. I am planning >>>> on providing more details in the documentations as far as how to >>>> utilize >>>> these modifications >>>> in Prototype and AJax when I get a chance (even provide links to a >>>> production site so you >>>> can see it in action and view the source if interested). So stay >>>> tuned... >>>> >>>>Thanks for everyones time, >>>> Scott Tabar >>>> >>>> Chris Hostetter <[EMAIL PROTECTED]> wrote: >>>> >>>> : If you like, I can post the source code changes that I made to the >>>> : SpellCheckerRequestHandler, but at this time I am not ready to >>>> open a >>>> : JIRA issue and submit the changes back through the subversion. >>>> I will >>>> : need to do a little more testing, documentation, and create >>>> some unit >>>> : tests to cover all of these changes, but what I have been able to >>>> : perform, it is working very well. >>>> >>>> Keep in mind "Yonik's Law Of Patches" ... >>>> >>>> "A half-baked patch in Jira, with no documentation, no tests >>>> and no backwards compatibility is better than no patch at >>>> all." >>>> http://wiki.apache.org/solr/HowToContribute >>>> >>>> ...even if you don't think the code is "solid" yet, if you want to >>>> eventually make it available to people, making a "rough" version >>>> available >>>> to people early gives other people the opportunity to help you >>>> make it >>>> solid (by writing unit tests, fixing bugs, and adding >>>> documentation). >>>> >>>> >>>> -Hoss >>>> >>>> >>>> >>> >>> >>> -- >>> Regards, >>> >>> Cuong Hoang >> >> >> >> >> -- >> Regards, >> >> Cuong Hoang >> > > > > -- View this message in context: http://www.nabble.com/Re%3A-Spell-Check-Handler-tp13090498p15093599.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Spell Check Handler

2008-01-25 Thread anuvenk
benefit to being updated; I'll like to >>>> help out >>>> as much >>>> as possible, but first I need to know "how". ;-) >>>> >>>> When these changes do get committed back in to the daily build, >>>> please >>>> review the generated JavaDoc for information on how to utilize >>>> these new >>>> features. >>>> If anyone has any questions, or comments, please do not hesitate >>>> to ask. >>>> >>>> >>>> As a general note of a self-critique on these changes, I am not 100% >>>> sure of the way I >>>> implemented the "nested" structure when the "multiWords" >>>> parameter is >>>> used. My interest >>>> is that it should work smoothly with some other technology such as >>>> Prototype using the >>>> JSon output type. Unfortunately, I will not be getting a chance to >>>> start on that coding until >>>> next week so it is up in the air as to if this structure will be >>>> conducive or not. I am planning >>>> on providing more details in the documentations as far as how to >>>> utilize >>>> these modifications >>>> in Prototype and AJax when I get a chance (even provide links to a >>>> production site so you >>>> can see it in action and view the source if interested). So stay >>>> tuned... >>>> >>>>Thanks for everyones time, >>>> Scott Tabar >>>> >>>> Chris Hostetter <[EMAIL PROTECTED]> wrote: >>>> >>>> : If you like, I can post the source code changes that I made to the >>>> : SpellCheckerRequestHandler, but at this time I am not ready to >>>> open a >>>> : JIRA issue and submit the changes back through the subversion. >>>> I will >>>> : need to do a little more testing, documentation, and create >>>> some unit >>>> : tests to cover all of these changes, but what I have been able to >>>> : perform, it is working very well. >>>> >>>> Keep in mind "Yonik's Law Of Patches" ... >>>> >>>> "A half-baked patch in Jira, with no documentation, no tests >>>> and no backwards compatibility is better than no patch at >>>> all." >>>> http://wiki.apache.org/solr/HowToContribute >>>> >>>> ...even if you don't think the code is "solid" yet, if you want to >>>> eventually make it available to people, making a "rough" version >>>> available >>>> to people early gives other people the opportunity to help you >>>> make it >>>> solid (by writing unit tests, fixing bugs, and adding >>>> documentation). >>>> >>>> >>>> -Hoss >>>> >>>> >>>> >>> >>> >>> -- >>> Regards, >>> >>> Cuong Hoang >> >> >> >> >> -- >> Regards, >> >> Cuong Hoang >> > > > > -- View this message in context: http://www.nabble.com/Re%3A-Spell-Check-Handler-tp13090498p15093599.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Spell Check Handler

2007-10-14 Thread scott.tabar
Matthew, Thanks for the question. The answer is that they come from your own indexes so the dictionary is based upon the actual words that are already stored in Solr. This makes sense; if the spell checker is suggesting a word that is not in the Solr index, then it will not help the user find

Re: Spell Check Handler

2007-10-11 Thread Matthew Runo
Where does the index come from in the first place? Do we have to enter the words, or are they entered as documents enter the SOLR index? I'd love to be able to use my own documents as the spell check index of "correctly spelled words". +--

Re: Spell Check Handler

2007-10-11 Thread scott.tabar
Climbingrose, I think you make a valid point. Each person may have a different concept of how something should work with their application. My thought on the subject of spell checking multiple words: - the parameter "multiWords" enables spell checking on each word in "q" parameter instead of

Re: Spell Check Handler

2007-10-11 Thread climbingrose
Just to clarify this line of code: String[] suggestions = spellChecker.suggestSimilar(termText, numSug, req.getSearcher().getReader(), restrictToField, true); I only return suggestions if they are more popular than termText. You probably need to use code in Scott's patch to make this behaviour co

Re: Spell Check Handler

2007-10-11 Thread climbingrose
Hi all, I've been so busy the last few days so I haven't replied to this email. I modified SpellCheckerHandler a while ago to include support for multiword query. To be honest, I didn't have time to write unit test for the code. However, I deployed it in a production environment and it has been wo

Re: Spell Check Handler

2007-10-10 Thread scott.tabar
Hoss, I had a feeling someone would be quoting Yonik's Law of Patches! ;-) For now, this is done. I created the changes, created JavaDoc comments on the various settings and their expected output, created a JUnit test for the SpellCheckerRequestHandler which tests various components of the ha

Re: Spell Check Handler

2007-10-08 Thread Pieter Berkel
I started to look at this back in August and decided to wait for climbingrose's implementation, however since then my priorities changed and I hadn't had a chance to re-visit it. Sounds like there is quite a bit of interest in this feature, so it would be great if those who have make progress on t

RE: Spell Check Handler

2007-10-08 Thread Lance Norskog
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 8:27 AM To: solr-user@lucene.apache.org Cc: Otis Gospodnetic Subject: Re: Spell Check Handler Greetings, I too have a strong need to handle multiple words. Also I have run in to a limitation within the

Re: Spell Check Handler

2007-10-08 Thread Chris Hostetter
: If you like, I can post the source code changes that I made to the : SpellCheckerRequestHandler, but at this time I am not ready to open a : JIRA issue and submit the changes back through the subversion. I will : need to do a little more testing, documentation, and create some unit : tests

Re: Spell Check Handler

2007-10-08 Thread scott.tabar
e you can provide a patch? Thanks! Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: climbingrose <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Sunday, August 12, 2007 8:24:12 AM Subject: Re: Spell Check Handler I'm happy t

Re: Spell Check Handler

2007-10-07 Thread Otis Gospodnetic
Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: climbingrose <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Sunday, August 12, 2007 8:24:12 AM Subject: Re: Spell Check Handler I'm happy to contrib

Re: Spell Check Handler

2007-08-17 Thread climbingrose
Thanks Karl. I'll check it out! On 8/18/07, karl wettin <[EMAIL PROTECTED]> wrote: > > I updated LUCENE-626 last night. It should now run smooth without > LUCENE-550, but smoother with. > > Perhaps it is something you can use. > > > 12 aug 2007 kl. 14.24 skrev climbingrose: > > > I'm happy to cont

Re: Spell Check Handler

2007-08-17 Thread karl wettin
I updated LUCENE-626 last night. It should now run smooth without LUCENE-550, but smoother with. Perhaps it is something you can use. 12 aug 2007 kl. 14.24 skrev climbingrose: I'm happy to contribute code for the SpellCheckerRequestHandler. I'll post the code once I strip off stuff relate

Re: Spell Check Handler

2007-08-12 Thread climbingrose
I'm happy to contribute code for the SpellCheckerRequestHandler. I'll post the code once I strip off stuff related to our product. On 8/12/07, Pieter Berkel <[EMAIL PROTECTED]> wrote: > > On 11/08/07, > climbingrose< > [EMAIL PROTECTED]> wrote: > >

Re: Spell Check Handler

2007-08-11 Thread karl wettin
12 aug 2007 kl. 02.35 skrev climbingrose: I think you mean LUCENE-626 Yeah. Is it possible to use it in product environment? It's been running live for a long time at this one place, but the code is stuck at Lucene 2.0 and an old version of 550. I don't really do any more Solr than to m

Re: Spell Check Handler

2007-08-11 Thread Pieter Berkel
On 11/08/07, climbingrose< [EMAIL PROTECTED]> wrote: > > That's exactly what I did with my custom version of the > SpellCheckerHandler. > However, I didn't handle suggestionCount and only returned the one > corrected > phrase which contains the "bes

Re: Spell Check Handler

2007-08-11 Thread climbingrose
Yeah. How stable is the patch Karl? Is it possible to use it in product environment? On 8/12/07, karl wettin <[EMAIL PROTECTED]> wrote: > > > 11 aug 2007 kl. 10.36 skrev climbingrose: > > > There is an issue on > > Lucene issue tracker regarding multi-word spellchecker: > > https://issues.apache.o

Re: Spell Check Handler

2007-08-11 Thread karl wettin
11 aug 2007 kl. 10.36 skrev climbingrose: There is an issue on Lucene issue tracker regarding multi-word spellchecker: https://issues.apache.org/jira/browse/LUCENE-550 I think you mean LUCENE-626 that sort of depends on LUCENE-550. -- karl

Re: Spell Check Handler

2007-08-11 Thread climbingrose
That's exactly what I did with my custom version of the SpellCheckerHandler. However, I didn't handle suggestionCount and only returned the one corrected phrase which contains the "best" corrected terms. There is an issue on Lucene issue tracker regarding multi-word spellchecker: https://issues.apa

Re: Spell Check Handler

2007-08-10 Thread Pieter Berkel
On 11/08/07, climbingrose <[EMAIL PROTECTED]> wrote: > > The spellchecker handler doesn't seem to work with multi-word query. For > example, when I tried to spellcheck "Java developar", it returns nothing > while if I tried "developar", spellchecker correctly returns "developer". > I > followed the

Re: Spell Check Handler

2007-08-10 Thread climbingrose
t; > > > > > Tristan > > > > > > > > > > > > > > > > > > > > > > > > On 7/9/07, climbingrose < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Hi Tristan, >

Re: Spell Check Handler

2007-08-10 Thread climbingrose
in 1.2 release or I have to build > > the > > > > > > trunk. > > > > > > I tried your instructions but Solr returns nothing: > > > > > > > > > > > > > > > > > > > > > > > > > > > &g

Re: Spell Check Handler

2007-08-10 Thread climbingrose
t; > > > > > 0 > > > > > 3 > > > > > > > > > > rebuild > > > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > >

Re: Spell Check Handler

2007-07-09 Thread Charles Hornberger
mmed and analyzed the words. I found that using the > > > StandardTokenizer > > > > and StandardFilter and removing the PorterStemmer and > LowerCaseFilter > > > from > > > > the field schema really improved the spell checker performance. > > >

Re: Spell Check Handler

2007-07-09 Thread Tristan Vittorio
checker performance. > > > > > > I haven't included this info on the wiki page yet, I'll try to update > it > > > soon when I have a bit more time. > > > > > > cheers, > > > Tristan > > > > > > > > > >

Re: Spell Check Handler

2007-07-09 Thread climbingrose
on the wiki page yet, I'll try to update it > > soon when I have a bit more time. > > > > cheers, > > Tristan > > > > > > > > On 7/8/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > > > > > > Tristan - good summary - want to copy that to the Solr Wiki? > > > > > > Tha

Re: Spell Check Handler

2007-07-09 Thread Tristan Vittorio
> On 7/8/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > > > > Tristan - good summary - want to copy that to the Solr Wiki? > > > > Thanks, > > Otis > > > > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > > Simpy -- http://www.simpy.com/ - Tag - Search - Share > > > > - Origi

Re: Spell Check Handler

2007-07-09 Thread climbingrose
TED]> > To: solr-user@lucene.apache.org > Sent: Saturday, July 7, 2007 1:51:15 AM > Subject: Re: Spell Check Handler > > I couldn't find any documention on the spell check handler either but > found > enough information from the solrconfig.xml file, simply search for >

Re: Spell Check Handler

2007-07-07 Thread Tristan Vittorio
to the Solr Wiki? Thanks, Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: Tristan Vittorio <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Saturday, July 7, 2007 1:51:15 A

Re: Spell Check Handler

2007-07-07 Thread Otis Gospodnetic
r-user@lucene.apache.org Sent: Saturday, July 7, 2007 1:51:15 AM Subject: Re: Spell Check Handler I couldn't find any documention on the spell check handler either but found enough information from the solrconfig.xml file, simply search for "SpellCheckerRequestHandler" (online version here): http:/

Re: Spell Check Handler

2007-07-06 Thread Tristan Vittorio
I couldn't find any documention on the spell check handler either but found enough information from the solrconfig.xml file, simply search for "SpellCheckerRequestHandler" (online version here): http://svn.apache.org/repos/asf/lucene/solr/trunk/example/solr/conf/solrconfig.xml Y

Spell Check Handler

2007-07-06 Thread Andrew Nagy
Hello, is there any documentation on how to use the new spell check module? Thanks Andrew