Resending, I think this got dropped by the list for some reason
-
Hi, was recently looking to incorporate Lucene for a simple
"parametric"/"faceted" type search. The documents are very small,
roughly 15 fields of short length (5-15 characters, generally strings
and padded integers). When
: Tuesday, 14 April, 2009 20:12:34
> Subject: Binary indexing / query efficiency
>
> Hi, was recently looking to incorporate Lucene for a simple
> "parametric"/"faceted" type search. The documents are very small,
> roughly 15 fields of short length (5-15 char
Hi,
It is not a good idea to extract each document. You can be more efficient
by only looking at the fields you are interested in. Depending on the size
of your index, you can try:
String[] codes = FieldCache.DEFAULT.getStrings(indexReader, fieldName);
This returns a string [] with the length
Hi, was recently looking to incorporate Lucene for a simple
"parametric"/"faceted" type search. The documents are very small,
roughly 15 fields of short length (5-15 characters, generally strings
and padded integers). When profiling query performance of our
application, which inserts 1 million doc