You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Garski (JIRA)" <ji...@apache.org> on 2011/06/28 23:18:28 UTC

[jira] [Updated] (SOLR-2626) ExternalFileField With Non-optimized Index

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

Michael Garski updated SOLR-2626:
---------------------------------

    Attachment: TestFunctionQuery.patch
                FileFloatSource.patch

Attaching two files - one for the unit test (TestFunctionQuery.patch) and one for the fix (FileFloatSource.patch).

The issue can be reproduced using the patch for the test, which creates a multi-segment index.  Applying the FileFloatSource.patch will correct the issue and allow the test to pass.

> ExternalFileField With Non-optimized Index
> ------------------------------------------
>
>                 Key: SOLR-2626
>                 URL: https://issues.apache.org/jira/browse/SOLR-2626
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 4.0
>         Environment: Mac OSX 10.6.8; Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
>            Reporter: Michael Garski
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: FileFloatSource.patch, TestFunctionQuery.patch
>
>
> The external file field in trunk works properly only with an optimized index.  If the index is not optimized incorrect values are used in function queries.

--
This message is automatically generated by JIRA.
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