lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3074) SimpleTextCodec needs SimpleText DocValues impl
Date Wed, 22 Feb 2012 14:33:49 GMT

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

Simon Willnauer updated LUCENE-3074:
------------------------------------

    Attachment: LUCENE-3074.patch

here is a first patch adding SimpleTextDV and replacing SimpleTextNorms with it directly.

I had to change some upstream classes and especially the merging done in the DocValuesConsumer
which used the "wrong" type  for merging. In general we should use the target type instead
of the source type and sources need to implement getBytes and do auto conversion otherwise
type promotion doesn't work.

this patch writes individual files per field like sep codec which made things a lot easier
and is maybe better suited for SimpleText

comments welcome
                
> SimpleTextCodec needs SimpleText DocValues impl
> -----------------------------------------------
>
>                 Key: LUCENE-3074
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3074
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: core/index, core/search
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Blocker
>             Fix For: 4.0
>
>         Attachments: LUCENE-3074.patch
>
>
> currently SimpleTextCodec uses binary docValues we should move that to a simple text
impl.

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


Mime
View raw message