Does ContentStreamDataSource support delta import?

2012-06-28 Thread jueljust
ContentStreamDataSource works fine with full-import command
but i can't make it work with delta-import command, i have to use
full-import and no clean instead
Does ContentStreamDataSource support delta import?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Does-ContentStreamDataSource-support-delta-import-tp3992008.html
Sent from the Solr - User mailing list archive at Nabble.com.


how to import product of entity date with DIH

2012-06-21 Thread jueljust
i need to import data from sql server and cassandra
first, get user ids from sql server
then get one user's characters from cassandra by user id
last, save the users characters doc into solr
one user have multi charcters
and i need to save the doc like 

1040.txt











19734880.txt



field uniqueid is  character id
field passportid is user id
field character is character name

i write the DIH config like the following







http://localhost/${user.id}.txt";
format="text" encoding="UTF-8" connectionTimeout="5000"
readTimeout="10">











but it doesn't work

i got the result in csv format like this

id,passportid,character
1,1040,Ranea
2,,
3,,
4,,

only user_1040 's first character's is imported, and the imported ids are
all wrong

how to write the correct DIH config?

regards


--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-import-product-of-entity-date-with-DIH-tp3990694.html
Sent from the Solr - User mailing list archive at Nabble.com.


How to import this Json-line by DIH?

2012-06-20 Thread jueljust


--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-import-this-Json-line-by-DIH-tp3990544.html
Sent from the Solr - User mailing list archive at Nabble.com.