How to search between dates?

2005-09-03 Thread Filip Anselm
Hi If I add a Field with a date to all my indexed documents... how can I then search and only get the hits where the date Field is between two specified dates?? Thank you in advance! Filip - To unsubscribe, e-mail: [EMAIL PROT

Re: How to search between dates?

2005-09-04 Thread Filip Anselm
;You can use the date range query. See: >>http://lucene.apache.org/java/docs/queryparsersyntax.html >>http://www.lucenebook.com/search?query=range+query >> >>Otis >> >>--- Filip Anselm <[EMAIL PROTECTED]> wrote: >> >> >> >>>Hi >>> &g

Re: How to search between dates?

2005-09-04 Thread Filip Anselm
DateFilter sounds great!! - But how is the best way to store dates in af Field? I get the time as a unix time stamp, seconds since epoch - and usually I can cut it down to hours or days since ephoc instead - if this has any effect on the perfomance... thanks... Chris Hostetter wrote: >: How do I

How do I avoid reindexing?

2005-09-10 Thread Filip Anselm
...well the title says it all I index some documents - all with the same fields... One of the fields, "id" is unique for the indexed documents. If i try to index a document with an id, that is already indexed - the old document should be updated or replaced with the new document, so that I avoid i

Re: How do I avoid reindexing?

2005-09-11 Thread Filip Anselm
ubject: Re: How do I avoid reindexing? >> >> >>delete document with this id and then add document with the same id. >> >>Jian >> >>On 9/10/05, Filip Anselm <[EMAIL PROTECTED]> wrote: >> >> >>>...well the title says it all >>

Re: How do I avoid reindexing?

2005-09-11 Thread Filip Anselm
I haven't had much time to look through the lucene documentation - but still: How could I miss that! DOH - hehe Much easier than starting from scratch... ;) Thanks to all of you! Erik Hatcher wrote: > > On Sep 11, 2005, at 6:03 AM, Filip Anselm wrote: > >> I'm comp

searching on special characters as in "C++"

2005-10-06 Thread Filip Anselm
How can I make it possible to search on words that includes special characters like + and # as in "C++" and "C#" ? Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]