lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana (JIRA)" <>
Subject [jira] [Commented] (SOLR-6326) ExternalFileFieldReloader and commits
Date Mon, 15 Sep 2014 17:16:34 GMT


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)

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


> ExternalFileFieldReloader and commits
> -------------------------------------
>                 Key: SOLR-6326
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message