Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About Lucene article in JRJ

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey.
I was reading an article in JR journal about Lucene (April2004) and I have some questions :
we have the following code :

assume that I have supplied the following :

I understand the following :
1. I have created sep.html which contains my article and put it under articles dir.
2. I create a String contains my whole article which (the String) contains the same text in sep.html , right ?
3. what is lucene-index String ??
4. all the previous code should be (lets say) in web admin page that will add the article to the index. right ??
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Todd:
3. what is lucene-index String ??

I believe it should be the directory path of your index directory, i.e. the place where Lucene should find (and write) all indices it uses for searching.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some help guys !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic