lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uri Boness (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1099) FieldAnalysisRequestHandler
Date Tue, 21 Apr 2009 08:19:47 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701094#action_12701094
] 

Uri Boness commented on SOLR-1099:
----------------------------------

Actually, there is not dependency between the handlers and SolrJ. SolrJ comes with its own
{{FieldAnalysisRequest}} and {{DocumentAnalysisRequest}} classes (which extend the {{SolrRequest}}
class). The inner classes in the handlers are used to represent analysis requests on the server
side. 

Another thing. I believe that the default names for the handlers as you defined in the default
solrconfig.xml (i.e. "analysis/field" and "analysis/document") are better than the ones I
came up with :-). The only thing left to do is to update these defaults in the SolrJ request
classes:  {{FieldAnalysisRequest}} and {{DocumentAnalysisRequests}}.

> FieldAnalysisRequestHandler
> ---------------------------
>
>                 Key: SOLR-1099
>                 URL: https://issues.apache.org/jira/browse/SOLR-1099
>             Project: Solr
>          Issue Type: New Feature
>          Components: Analysis
>    Affects Versions: 1.3
>            Reporter: Uri Boness
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: AnalisysRequestHandler_refactored.patch, analysis_request_handlers_incl_solrj.patch,
AnalysisRequestHandler_refactored1.patch, FieldAnalysisRequestHandler_incl_test.patch, SOLR-1099.patch
>
>
> The FieldAnalysisRequestHandler provides the analysis functionality of the web admin
page as a service. This handler accepts a filetype/fieldname parameter and a value and as
a response returns a breakdown of the analysis process. It is also possible to send a query
value which will use the configured query analyzer as well as a showmatch parameter which
will then mark every matched token as a match.
> If this handler is added to the code base, I also recommend to rename the current AnalysisRequestHandler
to DocumentAnalysisRequestHandler and have them both inherit from one AnalysisRequestHandlerBase
class which provides the common functionality of the analysis breakdown and its translation
to named lists. This will also enhance the current AnalysisRequestHandler which right now
is fairly simplistic.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message