[ 
https://issues.apache.org/jira/browse/SOLR-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134144#comment-14134144
 ] 

Ramana commented on SOLR-6326:
------------------------------

My previous issue is resolved. Now i am able to reload the external file field 
changes.

Basically i have 3 fields defined in my schema.xml with extrenal file field 
type like below:

<fieldType name="testFieldlType" keyField="id" defVal="0" stored="true" 
indexed="true" class="solr.ExternalFileField" valType="pfloat"/>

        <field name="testField"  type="testFieldlType" />
        <field name="testField1"  type="testFieldlType" />
        <field name="testField2"  type="testFieldlType" />

I created one file for each field in the data directory. When modified all the 
external files when the server is up, I am able to see all the changes by 
following below steps:

1) http://localhost:8983/solr/reloadCache

2) http://localhost:8983/solr/select?q=*&fl=id,score,field(testField)


Peter,
Could you please give an example here about the problem.That will help me 
understand the issue better.

Thanks,
Ramana.





> ExternalFileFieldReloader and commits
> -------------------------------------
>
>                 Key: SOLR-6326
>                 URL: https://issues.apache.org/jira/browse/SOLR-6326
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Peter Keegan
>              Labels: difficulty-medium, externalfilefield, impact-medium
>
> When there are multiple 'external file field' files available, Solr will 
> reload the last one (lexicographically) with a commit, but only if changes 
> were made to the index. Otherwise, it skips the reload and logs: "No 
> uncommitted changes. Skipping IW.commit." 
> IndexWriter.hasUncommittedChanges() returns false, but new external files 
> should be reloaded with commits.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to