lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avishai Ish-Shalom (JIRA)" <>
Subject [jira] [Commented] (SOLR-6252) A couple of small improvements to UnInvertedField class.
Date Sun, 14 Dec 2014 09:45:13 GMT


Avishai Ish-Shalom commented on SOLR-6252:


> A couple of small improvements to UnInvertedField class.
> --------------------------------------------------------
>                 Key: SOLR-6252
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: Trunk
>            Reporter: Vamsee Yarlagadda
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.10, Trunk
>         Attachments: SOLR-6252-v3.patch, SOLR-6252.patch, SOLR-6252v2.patch, solr-uninvertedfield-cache.patch
> Looks like UnInvertedField#getUnInvertedField has implemented a bit additional synchronization
module rather than what is required, and thereby increasing the complexity.
> As pointed out in the above link, as the synchronization is performed on the cache variable(which
itself will protect the threads from obtaining access to the cache), we can safely remove
all the placeholder flags. As long as cache.get() is in synchronized block, we can simply
populate the cache with new entries and other threads will be able to see the changes.
> This change has been introduced in (Multithreaded

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message