Re: How to sort on a tokenised field?

2007-04-10 Thread Joe Tang
that field? There's no good > *general* answer that I've been able to see. > > So I suspect you really want to do something that's not > document sorting, and if you'd make a clearer statement of > what you're trying to accomplish I'm sure you'd ge

How to sort on a tokenised field?

2007-04-10 Thread Joe Tang
My task is to index lots of documents with different fields. Some of the fields are tokenized and are going to be sorted later on when a list of result set is need to particular field. Unfortunately, Lucene complains about sort on a tokenized field. So is there any way to get around of it? Thank

How to not tokenize HTML tag from input string

2007-02-07 Thread Joe Tang
My work is to index keywords with a document. In my case, the document is made up with HTML tags which i don't want to index them. For example: Input Document: You are welcome Testing text Expected Keywords: keywords:You keywords:are keywords:welcome keywords:Testing keywords:text Is there