Re: update external file

2014-10-23 Thread Michael Sokolov

That's what I thought; thanks, Markus.

On 10/23/14 2:19 PM, Markus Jelsma wrote:

You either need to upload them and issue the reload command, or download them 
from the machine, and then issue the reload command. There is no REST support 
for it (yet) like the synonym filter, or was it stop filter?

MArkus
  
-Original message-

From:Michael Sokolov 
Sent: Thursday 23rd October 2014 19:19
To: solr-user 
Subject: update external file

I've been looking at ExternalFileField to handle popularity boosting.
Since Solr updatable docvalues (SOLR-5944) isn't quite there yet.  My
question is whether there is any support for uploading the external file
via Solr, or if people do that some other (external, I guess) way?

-Mike





RE: update external file

2014-10-23 Thread Ramzi Alqrainy
Right, There is no REST support for it like the synonym filter, or was it
stop filter.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/update-external-file-tp4165563p4165577.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: update external file

2014-10-23 Thread Markus Jelsma
You either need to upload them and issue the reload command, or download them 
from the machine, and then issue the reload command. There is no REST support 
for it (yet) like the synonym filter, or was it stop filter?

MArkus 
 
-Original message-
> From:Michael Sokolov 
> Sent: Thursday 23rd October 2014 19:19
> To: solr-user 
> Subject: update external file
> 
> I've been looking at ExternalFileField to handle popularity boosting.  
> Since Solr updatable docvalues (SOLR-5944) isn't quite there yet.  My 
> question is whether there is any support for uploading the external file 
> via Solr, or if people do that some other (external, I guess) way?
> 
> -Mike
> 


Re: update external file

2014-10-23 Thread Ramzi Alqrainy
I hope I understand your question well. so I had the same problem. This is
what I did:

1. Create a file:
solr_home/PROJECT/multicore/core1/data/external_popularProducts.txt

The file should contain values like this:
uniqueID_in_core=count

Example:
873728721=19
842728342=20

2. Update schema.xml, add this under   


Here, key is the column name for the primaryID of solr core.
Add this under 


3. Reload the core. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/update-external-file-tp4165563p4165572.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: update external file

2014-10-23 Thread Michael Sokolov
Thanks for the links, Ramzi.  I had already read the wiki page, which 
merely talks about how to reload the file into memory once it has been 
updated on disk. It doesn't mention any support for uploading that I can 
see.  Did I miss it?


-Mike


On 10/23/14 1:36 PM, Ramzi Alqrainy wrote:

Of course, there is a support for uploading the external file via Solr, you
can find more details in below links

https://cwiki.apache.org/confluence/display/solr/Working+with+External+Files+and+Processes

http://lucene.apache.org/solr/4_10_0/solr-core/org/apache/solr/schema/ExternalFileField.html



--
View this message in context: 
http://lucene.472066.n3.nabble.com/update-external-file-tp4165563p4165565.html
Sent from the Solr - User mailing list archive at Nabble.com.




Re: update external file

2014-10-23 Thread Ramzi Alqrainy
Of course, there is a support for uploading the external file via Solr, you
can find more details in below links

https://cwiki.apache.org/confluence/display/solr/Working+with+External+Files+and+Processes

http://lucene.apache.org/solr/4_10_0/solr-core/org/apache/solr/schema/ExternalFileField.html



--
View this message in context: 
http://lucene.472066.n3.nabble.com/update-external-file-tp4165563p4165565.html
Sent from the Solr - User mailing list archive at Nabble.com.