Hi,
I am new to Lucene and couple of questions. I have worked with SOLR
previously, now trying to work directly with Lucene to get similar
functionality(but without SOLR). Below are my questions, thanks in advance.
1) In SOLR, there is functionality of copyfields, which dynamically copies
one field value to destination field but without actually storing it in
second time. Does Lucene provides anything directly out of the box ? If i
have to implement such feature, then i need to manually copy the value from
1 field and create new field out of it ?
2) If i have to do some Number(Integer, Double, Long) values search(Range or
simple) then how do i do that ? I looked online but examples were mentioning
RangeQuery, but i see from 6.1.0 it's not supported anymore. Can you please
post some example for that ? I found /FunctionRangeQuery/, but while
providing the second argument as long value, it started throwing error that
it expects the value as int.
3) How do i create BooleanField (while creating the document) ? And during
query, how do i create clause/query for that field ?
Really appreciate the help in advance.
Regards,
--
View this message in context: http://lucene.472066.n3.nabble.com/Doing-Range-NUmber-queries-tp4290722.html
Sent from the Lucene - General mailing list archive at Nabble.com.
I am new to Lucene and couple of questions. I have worked with SOLR
previously, now trying to work directly with Lucene to get similar
functionality(but without SOLR). Below are my questions, thanks in advance.
1) In SOLR, there is functionality of copyfields, which dynamically copies
one field value to destination field but without actually storing it in
second time. Does Lucene provides anything directly out of the box ? If i
have to implement such feature, then i need to manually copy the value from
1 field and create new field out of it ?
2) If i have to do some Number(Integer, Double, Long) values search(Range or
simple) then how do i do that ? I looked online but examples were mentioning
RangeQuery, but i see from 6.1.0 it's not supported anymore. Can you please
post some example for that ? I found /FunctionRangeQuery/, but while
providing the second argument as long value, it started throwing error that
it expects the value as int.
3) How do i create BooleanField (while creating the document) ? And during
query, how do i create clause/query for that field ?
Really appreciate the help in advance.
Regards,
--
View this message in context: http://lucene.472066.n3.nabble.com/Doing-Range-NUmber-queries-tp4290722.html
Sent from the Lucene - General mailing list archive at Nabble.com.