lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2751) add LuceneTestCase.newSearcher()
Date Wed, 05 Jan 2011 00:04:45 GMT

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

Michael McCandless updated LUCENE-2751:
---------------------------------------

    Attachment: LUCENE-2751.patch

I think the attached patch fixes the thread safety issue w/ FieldCacheImpl.get -- I just made
the non-noop validate methods of the *ValuesCreator sync'd.

> add LuceneTestCase.newSearcher()
> --------------------------------
>
>                 Key: LUCENE-2751
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2751
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2751.patch, LUCENE-2751.patch
>
>
> Most tests in the search package don't care about what kind of searcher they use.
> we should randomly use MultiSearcher or ParallelMultiSearcher sometimes in tests.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message