You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jithin Emmanuel (Created) (JIRA)" <ji...@apache.org> on 2011/12/04 12:17:39 UTC
[jira] [Created] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Solr suggester - Support both index based and file based dictionary
-------------------------------------------------------------------
Key: SOLR-2946
URL: https://issues.apache.org/jira/browse/SOLR-2946
Project: Solr
Issue Type: Improvement
Components: spellchecker
Affects Versions: 3.5
Reporter: Jithin Emmanuel
Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: patch
I tried a fix for this myself. Attaching the patch. This was created on the src downloaded for 3.5.0 release.
Though this works for my usecase, I am getting test case failure when doing ant test and could not figure out how to fix it.
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: patch
Attaching new patch.
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Issue Comment Edited] (SOLR-2946) Solr suggester - Support
both index based and file based dictionary
Posted by "Jithin Emmanuel (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162357#comment-13162357 ]
Jithin Emmanuel edited comment on SOLR-2946 at 12/4/11 11:48 AM:
-----------------------------------------------------------------
Attaching new patch and deleting the older one.
EDIT: Updated once again.
This patch is in unified style. Sorry its not from an svn diff. I will try generating from trunk version.
was (Author: jithine):
Attaching new patch and deleting the older one.
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: (was: patch)
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml
Failed test case is attached.
Also pasting the BUILD FAILED section from ant test
BUILD FAILED
/Users/jithine/devel/solr/apache-solr-3.5-1.0/build.xml:27: The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/solr/build.xml:142: The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/lucene/contrib/contrib-build.xml:61: The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/lucene/common-build.xml:640:
The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/lucene/common-build.xml:619: Tests failed!
The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/lucene/common-build.xml:619: Tests failed!
The following error occurred while executing this line:
/Users/jithine/devel/solr/apache-solr-3.5-1.0/lucene/common-build.xml:619: Tests failed!
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: (was: patch)
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Issue Comment Edited] (SOLR-2946) Solr suggester - Support
both index based and file based dictionary
Posted by "Jithin Emmanuel (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162357#comment-13162357 ]
Jithin Emmanuel edited comment on SOLR-2946 at 12/4/11 11:40 AM:
-----------------------------------------------------------------
Attaching new patch and deleting the older one.
was (Author: jithine):
Attaching new patch.
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Uwe Schindler (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162351#comment-13162351 ]
Uwe Schindler commented on SOLR-2946:
-------------------------------------
Hi, could you please provide a "diff -ur" (unified) style patch (this one is not really human-readable as context information is missing), ideally using a svn checkout instead from the source tarball?
Your patch also contains lots of formatting changes in unrelated files.
Thanks, Uwe
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Jithin Emmanuel (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jithin Emmanuel updated SOLR-2946:
----------------------------------
Attachment: patch
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2946) Solr suggester - Support both index
based and file based dictionary
Posted by "Uwe Schindler (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162379#comment-13162379 ]
Uwe Schindler commented on SOLR-2946:
-------------------------------------
Thanks!
> Solr suggester - Support both index based and file based dictionary
> -------------------------------------------------------------------
>
> Key: SOLR-2946
> URL: https://issues.apache.org/jira/browse/SOLR-2946
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.5
> Reporter: Jithin Emmanuel
> Attachments: TEST-org.apache.solr.spelling.suggest.SuggesterFSTTest.xml, patch
>
>
> Solr suggester ignores 'filed' when 'sourceLocation' is provided. I got a usecase where in I need to support both.
> My requirement is to perform auto-complete from a set of words which includes a list of words from a text file and also the words from content which user enters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org