[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2013-08-06 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated LUCENE-4542:


Fix Version/s: (was: 4.5)
   4.4

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Steve Rowe
> Fix For: 5.0, 4.4
>
> Attachments: Lucene-4542-javadoc.patch, LUCENE-4542.patch, 
> LUCENE-4542-with-solr.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2013-07-18 Thread Steve Rowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated LUCENE-4542:
---

Fix Version/s: (was: 4.5)
   4.4
   5.0

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Steve Rowe
> Fix For: 5.0, 4.4
>
> Attachments: Lucene-4542-javadoc.patch, LUCENE-4542.patch, 
> LUCENE-4542-with-solr.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2013-07-18 Thread Adrien Grand (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-4542:
-

Assignee: Adrien Grand  (was: Chris Male)

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Adrien Grand
> Attachments: Lucene-4542-javadoc.patch, LUCENE-4542.patch, 
> LUCENE-4542-with-solr.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2012-11-08 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafał Kuć updated LUCENE-4542:
--

Attachment: Lucene-4542-javadoc.patch

Attached the patch with improved javadocs and recursionCap marked as final in 
the HunspellStemmer.

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Chris Male
> Attachments: Lucene-4542-javadoc.patch, LUCENE-4542.patch, 
> LUCENE-4542-with-solr.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2012-11-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafał Kuć updated LUCENE-4542:
--

Attachment: LUCENE-4542-with-solr.patch

Chris I've attached a second patch which includes changes to Solr 
HunspellFilter and its factory. Please review it and say if you want any 
changes to be made to it. I'll be glad to do it.

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Chris Male
> Attachments: LUCENE-4542.patch, LUCENE-4542-with-solr.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2012-11-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafał Kuć updated LUCENE-4542:
--

Attachment: LUCENE-4542.patch

As Piotr doesn't want to provide the patch, I'll do it for him :) Simple patch 
adding a new constructor that allows to pass additional parameter - the 
recursion cap. The old constructor is there and the default value for recursion 
cap is 2. 

> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Assignee: Chris Male
> Attachments: LUCENE-4542.patch
>
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2012-11-06 Thread Piotr (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr updated LUCENE-4542:
--

   Priority: Major  (was: Minor)
Description: 
Currently there is 
private static final int RECURSION_CAP = 2;
in the code of the class HunspellStemmer. It makes using hunspell with several 
dictionaries almost unusable, due to bad performance (f.ex. it costs 36ms to 
stem long sentence in latvian for recursion_cap=2 and 5 ms for 
recursion_cap=1). It would be nice to be able to tune this number as needed.
AFAIK this number (2) was chosen arbitrary.

(it's a first issue in my life, so please forgive me any mistakes done).

  was:
Currently there is 
private static final int RECURSION_CAP = 2;
in the code of the class HunspellStemmer. It makes using hunspell with several 
dictionaries almost unusable, due to bad performance. It would be nice to be 
able to tune this number as needed.

(it's a first issue in my life, so please forgive me any mistakes done).


> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance (f.ex. it costs 
> 36ms to stem long sentence in latvian for recursion_cap=2 and 5 ms for 
> recursion_cap=1). It would be nice to be able to tune this number as needed.
> AFAIK this number (2) was chosen arbitrary.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-4542) Make RECURSION_CAP in HunspellStemmer configurable

2012-11-06 Thread Piotr (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr updated LUCENE-4542:
--

Description: 
Currently there is 
private static final int RECURSION_CAP = 2;
in the code of the class HunspellStemmer. It makes using hunspell with several 
dictionaries almost unusable, due to bad performance. It would be nice to be 
able to tune this number as needed.

(it's a first issue in my life, so please forgive me any mistakes done).

  was:
Currently there is 
private static final int RECURSION_CAP = 2;
in the code. It makes using hunspell with several dictionaries almost unusable, 
due to bad performance. It would be nice to be able to tune this number as 
needed.

(it's a first issue in my life, so please forgive me any mistakes done).


> Make RECURSION_CAP in HunspellStemmer configurable
> --
>
> Key: LUCENE-4542
> URL: https://issues.apache.org/jira/browse/LUCENE-4542
> Project: Lucene - Core
>  Issue Type: Improvement
>  Components: modules/analysis
>Affects Versions: 4.0
>Reporter: Piotr
>Priority: Minor
>
> Currently there is 
> private static final int RECURSION_CAP = 2;
> in the code of the class HunspellStemmer. It makes using hunspell with 
> several dictionaries almost unusable, due to bad performance. It would be 
> nice to be able to tune this number as needed.
> (it's a first issue in my life, so please forgive me any mistakes done).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org