FW: Binary indexing / query efficiency

2009-04-16 Thread Eger, Patrick
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

Re: Binary indexing / query efficiency

2009-04-14 Thread eks dev
: 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

Re: Binary indexing / query efficiency

2009-04-14 Thread Khawaja Shams
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

Binary indexing / query efficiency

2009-04-14 Thread Eger, Patrick
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