[KinoSearch] Serialized Schema (was KinoSearch::FieldSpec::text)

Peter Karman peter at peknet.com
Thu Sep 6 17:40:54 PDT 2007



On 9/6/07 5:26 PM, Marvin Humphrey wrote:

> Peter, I know Swish works off of a configuration file.  What do you 
> think of having Schema write out something analogous to the Swish config 
> file during InvIndexer->finish?
> 

I think I am suffering a strange sense of deja vu all over again ;)

http://www.rectangular.com/pipermail/kinosearch/2006-November/000560.html

Seriously though, I think it sounds like a fine idea. Swish has 3 native 
field types: text, int and date (which is really just an int that gets 
output as a timestamp string). All the info about those fields is stored 
in the Swish-e index header. So doing something similar in KS, with more 
robust field types, makes perfect sense to me, especially when you talk 
about the index format in the context of Lucy (which is what I assume 
you alluding to when you wrote about accessing the index using other 
languages). Having well-defined native field types, and the ability to 
de/serialize the FieldSpecs and Analyzers at play, sounds Good.

(And re: the url thread above: for the record, I like the .yml format 
better than .xml; if libswish3 weren't already possessed of a full XML 
parser, I would probably use .yml in Swish3 too.)

pek

-- 
Peter Karman  .  peter at peknet.com  .  http://www.peknet.com/


_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list