incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gagan Deep Juneja (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (BLUR-44) Update BlurAnalyzer to use the Blur Thrift Analyzer object.
Date Fri, 07 Dec 2012 12:07:21 GMT

    [ https://issues.apache.org/jira/browse/BLUR-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526341#comment-13526341
] 

Gagan Deep Juneja edited comment on BLUR-44 at 12/7/12 12:05 PM:
-----------------------------------------------------------------

I completely understood your point here. let me reiterate my understanding in low level coding
details.

1) User is creating BlurAnalyzer object by passing thrift analyzer.
2) We need to create all details about AnalyerTypes and AnalyzerSubTypes in BlurAnalyze Object.
3) When user is passing any field to my getAnalyzer method I am going to return Analyzer.
Here user will be passing IndexFields or can also pass SubFields. What I want to ask here
is do we need to keep all the analyzers(default + subtypes) in one Map with their respective
fields(names or subnames) or do we need to create two different data structures?
4) We can also provide list of the subNames for a Index name.
5) We are going to keep only Index names in Lucene Store not the subNames.

Please validate this understanding and provide your inputs on some open questions.
                
      was (Author: gagan):
    I completely understood your point here. let me reiterate my understanding in low level
coding details.

1) User is creating BlurAnalyzer object by passing thrift analyzer.
2) We need to create all details about AnalyerTypes and AnalyzerSubTypes in BlurAnalyze Object.
3) When user is passing any field to my getAnalyzer method I am going to return Analyzer.
Here user will be passing IndexFields or can also pass SubFields. What I want to ask here
is do we need to keep all the analyzers(default + subtypes) in one Map with their respective
fields(names or subnames) or do we need to create two different data structures.
4) We can also provide list of the subNames for a Index name.
5) We are going to keep only Index names in Lucene Store not the subNames.
                  
> Update BlurAnalyzer to use the Blur Thrift Analyzer object.
> -----------------------------------------------------------
>
>                 Key: BLUR-44
>                 URL: https://issues.apache.org/jira/browse/BLUR-44
>             Project: Apache Blur
>          Issue Type: Improvement
>    Affects Versions: 0.2.0
>         Environment: 0.2-dev-removing-old-thrift branch
>            Reporter: Aaron McCurry
>             Fix For: 0.2.0
>
>
> The BlurAnalyzer constructor that takes a org.apache.blur.thrift.generated.Analyzer currently
does nothing.  Obviously this needs to be implemented, I have added javadocs to the Blur thrift
API that describes the expected behavior.

--
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

Mime
View raw message