You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Nilya <nd...@searshc.com> on 2009/10/19 20:33:16 UTC

Wordnet dictionary integration with Solr - help

I have been trying to integrate wordnet dictionary with solr. I used below
link to generate indexes using prolog package from wordnet.
http://chencer.com/techno/java/lucene/wordnet.html

And here are the changes I did in solr : 

Schema.xml changes:  
    <lst name="spellchecker">
      <str name="fieldType">word</str>
      <str name="name">dict</str>
      <str name="classname">solr.IndexBasedSpellChecker</str>
      <str name="field">word</str>
      <str name="characterEncoding">UTF-8</str>
      <str name="sourceLocation">./syn_index</str>
      <str name="spellcheckIndexDir">./spellchekerFile1</str>
    </lst>

<field name="word" type="string" indexed="true" strored="true" />

But with above changes wordnet dictionary doesn't seems to be working. 

1. Does anybody know whats wrong in my configuration. Any other change
required on the solrconfig?
2. Is there any ohter way to import wordnet data in solr and use ?
3. If there is another way to import wordnet as a simple text then I can as
well use it in my existing (default) sysname dictinary.

Appreciate your help on answering this.

Thanks.
 

-- 
View this message in context: http://www.nabble.com/Wordnet-dictionary-integration-with-Solr---help-tp25963305p25963305.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Re: Wordnet dictionary integration with Solr - help

Posted by Nilya <nd...@searshc.com>.
I added it in solr-user, will remove it from -dev.Sorry about the confusion.



Jason Rutherglen-2 wrote:
> 
> Nilya,
> 
> Can you ask your question on solr-user@lucene.apache.org?
> 
> -J
> 
> On Mon, Oct 19, 2009 at 11:33 AM, Nilya <nd...@searshc.com> wrote:
>>
>> I have been trying to integrate wordnet dictionary with solr. I used
>> below
>> link to generate indexes using prolog package from wordnet.
>> http://chencer.com/techno/java/lucene/wordnet.html
>>
>> And here are the changes I did in solr :
>>
>> Schema.xml changes:
>>    <lst name="spellchecker">
>>      <str name="fieldType">word</str>
>>      <str name="name">dict</str>
>>      <str name="classname">solr.IndexBasedSpellChecker</str>
>>      <str name="field">word</str>
>>      <str name="characterEncoding">UTF-8</str>
>>      <str name="sourceLocation">./syn_index</str>
>>      <str name="spellcheckIndexDir">./spellchekerFile1</str>
>>    </lst>
>>
>> <field name="word" type="string" indexed="true" strored="true" />
>>
>> But with above changes wordnet dictionary doesn't seems to be working.
>>
>> 1. Does anybody know whats wrong in my configuration. Any other change
>> required on the solrconfig?
>> 2. Is there any ohter way to import wordnet data in solr and use ?
>> 3. If there is another way to import wordnet as a simple text then I can
>> as
>> well use it in my existing (default) sysname dictinary.
>>
>> Appreciate your help on answering this.
>>
>> Thanks.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Wordnet-dictionary-integration-with-Solr---help-tp25963305p25963305.html
>> Sent from the Solr - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Wordnet-dictionary-integration-with-Solr---help-tp25963305p25963718.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Re: Wordnet dictionary integration with Solr - help

Posted by Jason Rutherglen <ja...@gmail.com>.
Nilya,

Can you ask your question on solr-user@lucene.apache.org?

-J

On Mon, Oct 19, 2009 at 11:33 AM, Nilya <nd...@searshc.com> wrote:
>
> I have been trying to integrate wordnet dictionary with solr. I used below
> link to generate indexes using prolog package from wordnet.
> http://chencer.com/techno/java/lucene/wordnet.html
>
> And here are the changes I did in solr :
>
> Schema.xml changes:
>    <lst name="spellchecker">
>      <str name="fieldType">word</str>
>      <str name="name">dict</str>
>      <str name="classname">solr.IndexBasedSpellChecker</str>
>      <str name="field">word</str>
>      <str name="characterEncoding">UTF-8</str>
>      <str name="sourceLocation">./syn_index</str>
>      <str name="spellcheckIndexDir">./spellchekerFile1</str>
>    </lst>
>
> <field name="word" type="string" indexed="true" strored="true" />
>
> But with above changes wordnet dictionary doesn't seems to be working.
>
> 1. Does anybody know whats wrong in my configuration. Any other change
> required on the solrconfig?
> 2. Is there any ohter way to import wordnet data in solr and use ?
> 3. If there is another way to import wordnet as a simple text then I can as
> well use it in my existing (default) sysname dictinary.
>
> Appreciate your help on answering this.
>
> Thanks.
>
>
> --
> View this message in context: http://www.nabble.com/Wordnet-dictionary-integration-with-Solr---help-tp25963305p25963305.html
> Sent from the Solr - Dev mailing list archive at Nabble.com.
>
>