This won't fully work.  You still need to delete the
original out of the lucene index to avoid it showing
up in searches.

Example:
myfile v1:  "I want a cat"
myfile v2:  "I want a dog"

If you change "cat" to "dog" in myfile, and then do a
search for "cat", you will *only* get v1 and hence the
sort on version doesn't help.

-Yonik


--- Justin Swanhart <[EMAIL PROTECTED]> wrote:
> Split the filename into "basefilename" and "version"
> and make each a keyword.
> 
> Sort your query by version descending, and only use
> the first
> "basefile" you encounter.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to