Thanks Narednra and Daniel but it accepts only long, I found LUCENE-530 to support double and float etc. Have you seen it? https://issues.apache.org/jira/browse/LUCENE-530
another question is Do I have to use it while indexing? how about the index already created? -- Regards, Mohammad -------------------------- see my blog: http://brainable.blogspot.com/ another in Persian: http://fekre-motefavet.blogspot.com/