Why Numeric (IntField) tokenized false by Default

2013-06-03 Thread Arjun Dhar
If One refers to the JavaDoc for Sort it states that INDEX and and the field should NOT be TOKENIZED. Its a common use case for Numbers to be Sorted. Am curious to find the default values of say IntField as : TYPE_NOT_STORED.setTokenized(true); Any reason why its tokenized by default? The

Query, Searcher, Weight, Similarity = ?

2012-06-29 Thread Arjun Dhar
Hi, I'm new and that is my disclaimer to the stupid question I am about to ask. Am trying to form a conceptual picture of the relation between Query -- Weight -- IndexReader, Scorer, Searcher -- Similarity *From what I gather : (and someone please validate or correct me) * 1. We want *Queries*