Hello ,
Range queries are lowering down the performance of search.
I am using date in my clucene application .
lucene Index doc has these kind of fields:
startdt="1242758400" enddt="1241980500"
now when i am searching for
searchingdate = new RangeQuery(lastyear time in seconds,current time in
seconds, true);
searchingdate1 = new RangeQuery(current time in seconds,nextyear time in
seconds, true);
Query :i want all doc , created after last year and expired before next year.
but the query is taking 15ms to run.
if i remove the query the execution time is reduced to half.
1. any other thing that i can use for range queries
2. converting the time to minutes is also not helping me.
3. Is there something Numeric Range Query. Does that simply means using
padding technique in indexing and searching.
eg:
for numbers 1...10
indexes should be 01 02....10
rather than 1 10 2.....9
ll that help?
Help me with the solution.
Thanks,
Suman
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CLucene-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clucene-developers