Re: Typo in the documentation of Spell Check

2020-03-04 Thread Carlos .Sponchiado
Thank you very much Christine.

Em ter., 3 de mar. de 2020 às 18:38, Christine Poerschke (BLOOMBERG/
LONDON)  escreveu:

> Thanks for the detailed report Carlos!
>
> I've just committed a fix for the typo:
>
> https://github.com/apache/lucene-solr/commit/4a0063f04a91c6d68e11252396e8c8d5e722b7b2
>
> https://github.com/apache/lucene-solr/commit/def6816f48598ce8e8757239b98969b5e18b21af
>
> Christine
>
> From: dev@lucene.apache.org At: 02/27/20 15:23:34
> To: jan@cominvent.com
> Cc: dev@lucene.apache.org
> Subject: Re: Typo in the documentation of Spell Check
>
> Hi Jan,
>
> It is exactly this documentation. it says spellcheck.queryAnalyzerField*type,
> *but should be spellcheck.queryAnalyzerField*Type.*
>
> I can share with you where I found the correct use of this parameter here:
>
> https://github.com/apache/lucene-solr/search?l=XML=queryAnalyzerFieldType
>
> All the examples the Type is uppercase and here at line 739 is using
> correct
>
>
> https://github.com/apache/lucene-solr/blob/8cde1277ec7151bd6ab62950ac93cbdd6ff04d9f/solr/core/src/java/org/apache/solr/handler/component/SpellCheckComponent.java
>
> I configured my spellcheck in this way and now it uses my analyser and the
> term of search is only in q parameter and spellcheck.q is empty:
>
> 
>
> text-spellcheck
>
> 
>
> default
>
> spellcheck
>
> solr.DirectSolrSpellChecker
>
> internal
>
> 0.7
>
> 2
>
> 1
>
> 5
>
> 4
>
> 0.01
>
> 
>
> 
>
>
> Initially I was thinking that I should use this parameter inside the
> requestHandler, as a parameter of the search. Then reading the book  Apache
> Solr Enterprise Search Server
> <https://learning.oreilly.com/library/view/apache-solr-enterprise/9781782161363>
>  I
> noticed it.
>
>
>
>
> Em qui., 27 de fev. de 2020 às 14:47, Jan Høydahl 
> escreveu:
>
>> Thanks for reporting bugs.
>>
>> I checked the Reference Guide and the documentation seems correct:
>> https://lucene.apache.org/solr/guide/8_4/spell-checking.html#spell-check-parameters
>> In fact that parameter was only added to the documentation from version
>> 7.3. Please specify exactly which documentation your are looking at.
>>
>> Jan
>>
>> 27. feb. 2020 kl. 15:21 skrev Carlos .Sponchiado :
>>
>> Hello,
>>
>> I'd like sharing an error in the documentation of Solr related to
>> SpellCheck.
>> I was investigating why the parameter spellcheck.queryAnalyzerFieldtype 
>> wasn't
>> working and I saw that type was lowercase in the documentation. The correct
>> should be spellcheck.queryAnalyzerFieldType
>>
>> Hope to be helpful
>>
>> Best Regards
>> Carlos Sponchiado
>>
>>
>>
>
> --
> Abraços
> Carlos Sponchiado
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org



-- 
Abraços
Carlos Sponchiado


Re: Typo in the documentation of Spell Check

2020-02-27 Thread Jan Høydahl
Thanks for reporting bugs.

I checked the Reference Guide and the documentation seems correct: 
https://lucene.apache.org/solr/guide/8_4/spell-checking.html#spell-check-parameters
In fact that parameter was only added to the documentation from version 7.3. 
Please specify exactly which documentation your are looking at.

Jan

> 27. feb. 2020 kl. 15:21 skrev Carlos .Sponchiado :
> 
> Hello,
> 
> I'd like sharing an error in the documentation of Solr related to SpellCheck.
> I was investigating why the parameter spellcheck.queryAnalyzerFieldtype 
> wasn't working and I saw that type was lowercase in the documentation. The 
> correct should be spellcheck.queryAnalyzerFieldType
> 
> Hope to be helpful 
> 
> Best Regards
> Carlos Sponchiado