capturing field length into a stored document field

2009-09-04 Thread mike.schultz
For various statistics I collect from an index it's important for me to know the length (measured in tokens) of a document field. I can get that information to some degree from the "norms" for the field but a) the resolution isn't that great, and b) more importantly, if boosts are used it's almos

Re: capturing field length into a stored document field

2009-09-07 Thread mike.schultz
ren't so many different token types produced. This has a space advantage over storing in a field, especially since the information isn't needed at query time anyway. mike.schultz wrote: > > For various statistics I collect from an index it's important for me to > know t

specifying search depth?

2009-11-17 Thread mike.schultz
I want to use the standard QueryComponent to run a query then sort a *limited number of the results* by some function query. So if my query returns 10,000 results, I'd like to calculate the function over only the top, say 100 of them, and sort that for the ultimate results. Is this possible? Th

Making Analyzer Phrase aware?

2009-07-02 Thread mike.schultz
I was looking at the SOLR-908 port of nutch CommonGramsFilter as an approach for having phrase searches be sensitive to stop words within a query. So a search on "car on street" wouldn't match the text "car in street". >From what I can tell the query version of the filter will *always* create st