: of myfield as the same result.  I wish there was an option to just
: completely reindex all data..i suppose optimize may do that a little
: bit?

"optimize" is just a low level lucene call to purge all deleted docs and 
merge all index segments into a single segment.

and there is an option to reindex all data: take whatever you used to 
index in the data the first time, and do it again. :)

seriously though, if you use something like DateImportHandler this is 
fairly easy, if you don't use something like DIH, it's a matter of 
designing whatever system you do use so that it's easy do reindex later as 
needed (unless you're certain that your schema is perfect and never needs 
to change)

The way you solved your use case (exclude things that don't have a value) 
is exactly how i go about deal with situations like this routinely.



-Hoss

Reply via email to