[
https://issues.apache.org/jira/browse/LUCENE-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549651#comment-13549651
]
Varun Thacker commented on LUCENE-3354:
---------------------------------------
Hi,
I have a doubt on FieldCache supporting MultiValued fields in general. So
FieldCache on a multiValued field works by consuming it from
FieldCache.DocTermOrds but,
* I was trying out FunctionQuery in Solr and still got a "cannot FieldCache on
multiValued field" error. This is because any impl. of FieldCacheSource for
example StrFieldSource#getValues() returns DocTermsIndexDocValues where
FieldCache.DocTermsIndex instance loads up. Is this supposed to be consumed
like this?
* Secondly slightly off topic but I went through the lucene4547 branch where
there was a discussion on how to consume DocValues. I'm still trying to figure
a lot of stuff around DocValues, FieldCache etc. but do we need to discuss all
these issues and it's impact on Solr and ES as a whole?
> Extend FieldCache architecture to multiple Values
> -------------------------------------------------
>
> Key: LUCENE-3354
> URL: https://issues.apache.org/jira/browse/LUCENE-3354
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Bill Bell
> Fix For: 4.0-ALPHA
>
> Attachments: LUCENE-3354.patch, LUCENE-3354.patch,
> LUCENE-3354_testspeed.patch
>
>
> I would consider this a bug. It appears lots of people are working around
> this limitation,
> why don't we just change the underlying data structures to natively support
> multiValued fields in the FieldCache architecture?
> Then functions() will work properly, and we can do things like easily
> geodist() on a multiValued field.
> Thoughts?
--
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: [email protected]
For additional commands, e-mail: [email protected]