UniqueID by File Name?

I am using pyes to index some metadata about files on my network. Each
record has a unique id that is generated by the system but that means that
there are duplicate records in my index. Is there a way I can use the file
path as my unique id? I can set id= but when I do that I get an
error. I think its because of spaces in the paths.

Thoughts?
Adam

Maybe pyes does not URL encode the ID when it sends the request?

On Monday, January 30, 2012 at 11:26 PM, Adam Estrada wrote:

I am using pyes to index some metadata about files on my network. Each record has a unique id that is generated by the system but that means that there are duplicate records in my index. Is there a way I can use the file path as my unique id? I can set id= but when I do that I get an error. I think its because of spaces in the paths.

Thoughts?
Adam