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 sunnyfr <jo...@gmail.com> on 2008/10/17 13:31:25 UTC

solr 1.3 - spellcheck doesn't seems to get any data?

Hi,

How come I've nothing in my spellchercker directories :
I've updated it but I'm started from an empty data directory and :

root@solr-test:/data/solr/video/data# ls spellchecker1/
segments.gen  segments_1
root@solr-test:/data/solr/video/data# ls spellchecker2/
segments.gen  segments_1
root@solr-test:/data/solr/video/data# ls spellcheckerFile/
segments.gen  segments_1
root@solr-test:/data/solr/video/data# ls index/           
_a.fdt  _a.fnm  _a.nrm  _a.tii  _a.tvd  _a.tvx  _b.fdx  _b.frq  _b.prx 
_b.tis  _b.tvf  _c.fdt  _c.fnm  _c.nrm  _c.tii  _c.tvd  _c.tvx       
segments_e
_a.fdx  _a.frq  _a.prx  _a.tis  _a.tvf  _b.fdt  _b.fnm  _b.nrm  _b.tii 
_b.tvd  _b.tvx  _c.fdx  _c.frq  _c.prx  _c.tis  _c.tvf  segments.gen

My Files :
http://www.nabble.com/file/p20031572/solrconfig.xml solrconfig.xml 
http://www.nabble.com/file/p20031572/schema.xml schema.xml 

Thanks,
-- 
View this message in context: http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20031572.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr 1.3 - spellcheck doesn't seems to get any data?

Posted by Grant Ingersoll <gs...@apache.org>.
See http://wiki.apache.org/solr/SpellCheckComponent for how to setup  
spell checking.

-Grant

On Oct 17, 2008, at 10:40 AM, sunnyfr wrote:

>
> If I do 8180/solr/video/select?q=chiens&qt=spellchecker
> I've nothing
> <response>
> −
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">0</int>
> </lst>
> <str name="words">chiens</str>
> <str name="exist">false</str>
> <arr name="suggestions"/>
> </response>
>
>
>
>
> sunnyfr wrote:
>>
>> Sorry I don't get really how I can check I did :
>> :8180/solr/video/select?q=chiens&qt=spellchecker&cmd=rebuild
>>
>> I've got that:
>> <response>
>> −
>> <lst name="responseHeader">
>> <int name="status">0</int>
>> <int name="QTime">50</int>
>> </lst>
>> <str name="cmdExecuted">rebuild</str>
>> <str name="words">chiens</str>
>> <str name="exist">false</str>
>> <arr name="suggestions"/>
>> </response>
>>
>> Indeed I've a new file in my spellchecker1 directory, but how can I  
>> check
>> then.
>>
>> Thanks,
>>
>>
>> goodieboy wrote:
>>>
>>> Did you send in a spellcheck.build=true ?
>>>
>>> Matt
>>>
>>> On Fri, Oct 17, 2008 at 7:31 AM, sunnyfr <jo...@gmail.com>  
>>> wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> How come I've nothing in my spellchercker directories :
>>>> I've updated it but I'm started from an empty data directory and :
>>>>
>>>> root@solr-test:/data/solr/video/data# ls spellchecker1/
>>>> segments.gen  segments_1
>>>> root@solr-test:/data/solr/video/data# ls spellchecker2/
>>>> segments.gen  segments_1
>>>> root@solr-test:/data/solr/video/data# ls spellcheckerFile/
>>>> segments.gen  segments_1
>>>> root@solr-test:/data/solr/video/data# ls index/
>>>> _a.fdt  _a.fnm  _a.nrm  _a.tii  _a.tvd  _a.tvx  _b.fdx  _b.frq   
>>>> _b.prx
>>>> _b.tis  _b.tvf  _c.fdt  _c.fnm  _c.nrm  _c.tii  _c.tvd  _c.tvx
>>>> segments_e
>>>> _a.fdx  _a.frq  _a.prx  _a.tis  _a.tvf  _b.fdt  _b.fnm  _b.nrm   
>>>> _b.tii
>>>> _b.tvd  _b.tvx  _c.fdx  _c.frq  _c.prx  _c.tis  _c.tvf   
>>>> segments.gen
>>>>
>>>> My Files :
>>>> http://www.nabble.com/file/p20031572/solrconfig.xml solrconfig.xml
>>>> http://www.nabble.com/file/p20031572/schema.xml schema.xml
>>>>
>>>> Thanks,
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20031572.html
>>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20034673.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

--------------------------
Grant Ingersoll
Lucene Boot Camp Training Nov. 3-4, 2008, ApacheCon US New Orleans.
http://www.lucenebootcamp.com


Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ










Re: solr 1.3 - spellcheck doesn't seems to get any data?

Posted by sunnyfr <jo...@gmail.com>.
If I do 8180/solr/video/select?q=chiens&qt=spellchecker
I've nothing 
<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
</lst>
<str name="words">chiens</str>
<str name="exist">false</str>
<arr name="suggestions"/>
</response>




sunnyfr wrote:
> 
> Sorry I don't get really how I can check I did :
> :8180/solr/video/select?q=chiens&qt=spellchecker&cmd=rebuild
> 
> I've got that:
> <response>
> −
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">50</int>
> </lst>
> <str name="cmdExecuted">rebuild</str>
> <str name="words">chiens</str>
> <str name="exist">false</str>
> <arr name="suggestions"/>
> </response>
> 
> Indeed I've a new file in my spellchecker1 directory, but how can I check
> then.
> 
> Thanks,
> 
> 
> goodieboy wrote:
>> 
>> Did you send in a spellcheck.build=true ?
>> 
>> Matt
>> 
>> On Fri, Oct 17, 2008 at 7:31 AM, sunnyfr <jo...@gmail.com> wrote:
>> 
>>>
>>> Hi,
>>>
>>> How come I've nothing in my spellchercker directories :
>>> I've updated it but I'm started from an empty data directory and :
>>>
>>> root@solr-test:/data/solr/video/data# ls spellchecker1/
>>> segments.gen  segments_1
>>> root@solr-test:/data/solr/video/data# ls spellchecker2/
>>> segments.gen  segments_1
>>> root@solr-test:/data/solr/video/data# ls spellcheckerFile/
>>> segments.gen  segments_1
>>> root@solr-test:/data/solr/video/data# ls index/
>>> _a.fdt  _a.fnm  _a.nrm  _a.tii  _a.tvd  _a.tvx  _b.fdx  _b.frq  _b.prx
>>> _b.tis  _b.tvf  _c.fdt  _c.fnm  _c.nrm  _c.tii  _c.tvd  _c.tvx
>>> segments_e
>>> _a.fdx  _a.frq  _a.prx  _a.tis  _a.tvf  _b.fdt  _b.fnm  _b.nrm  _b.tii
>>> _b.tvd  _b.tvx  _c.fdx  _c.frq  _c.prx  _c.tis  _c.tvf  segments.gen
>>>
>>> My Files :
>>> http://www.nabble.com/file/p20031572/solrconfig.xml solrconfig.xml
>>> http://www.nabble.com/file/p20031572/schema.xml schema.xml
>>>
>>> Thanks,
>>> --
>>> View this message in context:
>>> http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20031572.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20034673.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr 1.3 - spellcheck doesn't seems to get any data?

Posted by sunnyfr <jo...@gmail.com>.
Sorry I don't get really how I can check I did :
:8180/solr/video/select?q=chiens&qt=spellchecker&cmd=rebuild

I've got that:
<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">50</int>
</lst>
<str name="cmdExecuted">rebuild</str>
<str name="words">chiens</str>
<str name="exist">false</str>
<arr name="suggestions"/>
</response>

Indeed I've a new file in my spellchecker1 directory, but how can I check
then.

Thanks,


goodieboy wrote:
> 
> Did you send in a spellcheck.build=true ?
> 
> Matt
> 
> On Fri, Oct 17, 2008 at 7:31 AM, sunnyfr <jo...@gmail.com> wrote:
> 
>>
>> Hi,
>>
>> How come I've nothing in my spellchercker directories :
>> I've updated it but I'm started from an empty data directory and :
>>
>> root@solr-test:/data/solr/video/data# ls spellchecker1/
>> segments.gen  segments_1
>> root@solr-test:/data/solr/video/data# ls spellchecker2/
>> segments.gen  segments_1
>> root@solr-test:/data/solr/video/data# ls spellcheckerFile/
>> segments.gen  segments_1
>> root@solr-test:/data/solr/video/data# ls index/
>> _a.fdt  _a.fnm  _a.nrm  _a.tii  _a.tvd  _a.tvx  _b.fdx  _b.frq  _b.prx
>> _b.tis  _b.tvf  _c.fdt  _c.fnm  _c.nrm  _c.tii  _c.tvd  _c.tvx
>> segments_e
>> _a.fdx  _a.frq  _a.prx  _a.tis  _a.tvf  _b.fdt  _b.fnm  _b.nrm  _b.tii
>> _b.tvd  _b.tvx  _c.fdx  _c.frq  _c.prx  _c.tis  _c.tvf  segments.gen
>>
>> My Files :
>> http://www.nabble.com/file/p20031572/solrconfig.xml solrconfig.xml
>> http://www.nabble.com/file/p20031572/schema.xml schema.xml
>>
>> Thanks,
>> --
>> View this message in context:
>> http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20031572.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20034608.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr 1.3 - spellcheck doesn't seems to get any data?

Posted by Matt Mitchell <go...@gmail.com>.
Did you send in a spellcheck.build=true ?

Matt

On Fri, Oct 17, 2008 at 7:31 AM, sunnyfr <jo...@gmail.com> wrote:

>
> Hi,
>
> How come I've nothing in my spellchercker directories :
> I've updated it but I'm started from an empty data directory and :
>
> root@solr-test:/data/solr/video/data# ls spellchecker1/
> segments.gen  segments_1
> root@solr-test:/data/solr/video/data# ls spellchecker2/
> segments.gen  segments_1
> root@solr-test:/data/solr/video/data# ls spellcheckerFile/
> segments.gen  segments_1
> root@solr-test:/data/solr/video/data# ls index/
> _a.fdt  _a.fnm  _a.nrm  _a.tii  _a.tvd  _a.tvx  _b.fdx  _b.frq  _b.prx
> _b.tis  _b.tvf  _c.fdt  _c.fnm  _c.nrm  _c.tii  _c.tvd  _c.tvx
> segments_e
> _a.fdx  _a.frq  _a.prx  _a.tis  _a.tvf  _b.fdt  _b.fnm  _b.nrm  _b.tii
> _b.tvd  _b.tvx  _c.fdx  _c.frq  _c.prx  _c.tis  _c.tvf  segments.gen
>
> My Files :
> http://www.nabble.com/file/p20031572/solrconfig.xml solrconfig.xml
> http://www.nabble.com/file/p20031572/schema.xml schema.xml
>
> Thanks,
> --
> View this message in context:
> http://www.nabble.com/solr-1.3---spellcheck-doesn%27t-seems-to-get-any-data--tp20031572p20031572.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>