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:12:35 UTC

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

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


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


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

Posted by "Michael Garski (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-2626.
--------------------------------

    Resolution: Fixed

Thanks Michael, it looks like this bug was introduced by LUCENE-2831 (hence this bug only existed in trunk).
I just committed the fix.

> 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