This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
I am constructing a web site. I am learning the Lucene so that I can use it to search the database. I started with reading the "Introdution In Text Indexing with Jakarta Apache Lucene" at http://www.onjava.com/pub/a/onjava/2003/01/15/lucene.html and in the example given, it looks that I have to specify a directory for the first parameter of the IndexWriter (see below).
I have a record created and stored in a table in my database whenever a user submits his/her inputs. And I want to index that record. What should be the indexDir in my case? Should I follow the above example and use "java.io.tmpdir"? I sort of doubt it. Please advise.
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake: