Re: Store a document-like map

2006-12-06 Thread Soeren Pekrul
If there would be a boost factor for a single keyword (term) at index time I would index a class as a document with the keys as keywords and values as boost factor. Unfortunately you can just boost documents and fields at index time. Single terms can only be boosted at search time (TermQuery.se

Store a document-like map

2006-12-05 Thread [EMAIL PROTECTED]
Hi, I'm building an application that's going to classify some documents. So i have a set of documents and a set of classes, and I must classify these docs in these classes. Now, documents are stored in Lucene index through Document, while I don't know how I can store my classes in Lucene, and ho