You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Licinio Fernández Maurelo <li...@gmail.com> on 2009/07/02 11:36:34 UTC

Creating spellchecker dictionary from multiple sources

Hello everybody, dealing with the spell checker component i'm wondering if
it's possible to generate my dictionary index based on multiple indexes
fields  and also want to  know how anyone has solve this problem.

Thx

-- 
Lici

Re: Creating spellchecker dictionary from multiple sources

Posted by Licinio Fernández Maurelo <li...@gmail.com>.
Thanks for your responses guys,

my problem is that currently we have 11 cores-index, some of them contains
fields i want to use for
spell checking and i'm thinking on build an extra-core containing the
dictionary index, and import from multiple indexes the information i need
via DIH.

Should it works, i hope

2009/7/2 Erik Hatcher <er...@ehatchersolutions.com>

> You could configure multiple spellcheckers on different fields, or if you
> want to aggregate several fields into the suggestions, use copyField to pool
> all text to be suggested together into a single field.
>
>        Erik
>
>
> On Jul 2, 2009, at 7:46 AM, Otis Gospodnetic wrote:
>
>
>> Hi Lici,
>>
>> I don't think the current spellchecker can look at more than one field,
>> let alone multiple indices, but you could certainly modify the code and make
>> it do that.  Looking at multiple fields of the same index may make more
>> sense than looking at multiple indices.
>>
>> Otis
>> --
>> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>>
>>
>>
>> ----- Original Message ----
>>
>>> From: Licinio Fernández Maurelo <li...@gmail.com>
>>> To: solr-user@lucene.apache.org
>>> Sent: Thursday, July 2, 2009 5:36:34 AM
>>> Subject: Creating spellchecker dictionary from multiple sources
>>>
>>> Hello everybody, dealing with the spell checker component i'm wondering
>>> if
>>> it's possible to generate my dictionary index based on multiple indexes
>>> fields  and also want to  know how anyone has solve this problem.
>>>
>>> Thx
>>>
>>> --
>>> Lici
>>>
>>
>>
>


-- 
Lici

Re: Creating spellchecker dictionary from multiple sources

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
You could configure multiple spellcheckers on different fields, or if  
you want to aggregate several fields into the suggestions, use  
copyField to pool all text to be suggested together into a single field.

	Erik

On Jul 2, 2009, at 7:46 AM, Otis Gospodnetic wrote:

>
> Hi Lici,
>
> I don't think the current spellchecker can look at more than one  
> field, let alone multiple indices, but you could certainly modify  
> the code and make it do that.  Looking at multiple fields of the  
> same index may make more sense than looking at multiple indices.
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> ----- Original Message ----
>> From: Licinio Fernández Maurelo <li...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Thursday, July 2, 2009 5:36:34 AM
>> Subject: Creating spellchecker dictionary from multiple sources
>>
>> Hello everybody, dealing with the spell checker component i'm  
>> wondering if
>> it's possible to generate my dictionary index based on multiple  
>> indexes
>> fields  and also want to  know how anyone has solve this problem.
>>
>> Thx
>>
>> -- 
>> Lici
>


Re: Creating spellchecker dictionary from multiple sources

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi Lici,

I don't think the current spellchecker can look at more than one field, let alone multiple indices, but you could certainly modify the code and make it do that.  Looking at multiple fields of the same index may make more sense than looking at multiple indices.

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Licinio Fernández Maurelo <li...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, July 2, 2009 5:36:34 AM
> Subject: Creating spellchecker dictionary from multiple sources
> 
> Hello everybody, dealing with the spell checker component i'm wondering if
> it's possible to generate my dictionary index based on multiple indexes
> fields  and also want to  know how anyone has solve this problem.
> 
> Thx
> 
> -- 
> Lici