The file is completely reloaded when you commit or optimize. There is
no incremental update available. And, yes, this could be a scaling
problem.

How you update it is completely external to Solr.

On Sat, Aug 28, 2010 at 2:50 AM, Andy <angelf...@yahoo.com> wrote:
> I'm interested in using ExternalFileField to store a field "popularity" that 
> is being updated frequently.
>
> However ExternalFileField seems to be a pretty obscure feature. Have a few 
> questions:
>
> 1) Can anyone share your experience using it?
>
> 2) What is the most efficient way to update the external file?
> For example, the file could look like:
>
> 1=12      // the document with uniqueKey 1 has a popularity of 12//
> 2=4
> 3=45
> 5=78
>
> Now the popularity of document 1 is updated to 13:
>
> - What is the best way to update the file to reflect the change? Isn't this 
> an O(n) operation?
> - How to deal with concurrent updates to the file by multiple threads?
>
> Would this method of using an external file scale?
>
> Thanks.
>
>
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to