On Jun 15, 2009, at 2:11 PM, Grant Ingersoll wrote:



More questions:

1. What about Highlighter and MoreLikeThis? They have not been converted. Also, what are they going to do if the attributes they need are not available? Caveat emptor? 2. Same for TermVectors. What if the user specifies with positions and offsets, but the analyzer doesn't produce them? Caveat emptor? (BTW, this is also true for the new omit TF stuff) 3. Also, what about the case where one might have attributes that are meant for downstream TokenFilters, but not necessarily for indexing? Offsets and type come to mind. Is it the case now that those attributes are not automatically added to the index? If they are ignored now, what if I want to add them? I admit, I'm having a hard time finding the code that specifically loops over the Attributes. I recall seeing it, but can no longer find it.


Also, can we add something like an AttributeTermQuery? Seems like it could work similar to the BoostingTermQuery.

So, I think I see #1 covered, how about #2, #3 and the notion of an AttributeTermQuery? Anyone have thoughts on those? I might have some time next week to work up a Query, as it sounds like fun, but don't hold it to me just yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to