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

Koji Sekiguchi updated SOLR-2536:
---------------------------------

    Attachment: SOLR-2536.patch

2nd Patch. I changed test case to use the reloadCache feature.

Before patch, the test must add dummy doc before commit to visible the external 
file change, I patched like this:

{code}
-    assertU(adoc("id", "10000")); // will get same reader if no index change
-    assertU(commit());
+    assertU(h.query("/reloadCache",lrf.makeRequest("","")));
{code}

I think this is ready to commit.

> add reloadCache feature to ExternalFileField
> --------------------------------------------
>
>                 Key: SOLR-2536
>                 URL: https://issues.apache.org/jira/browse/SOLR-2536
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3, 1.4.1, 3.1
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2536.patch, SOLR-2536.patch
>
>
> spin off from SOLR-1607. To fix ExternalFileField bug described SOLR-1607, 
> I'd propose introducing reloadCache feature over using proper key other than 
> IndexReader.

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

Reply via email to