You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sumathi <si...@gft.com> on 2004/10/08 07:27:24 UTC

Problem in WebLucene


  Hello ,

            I'm trying to use weblucene in our application . i have created the index using IndexRunner class  sucessfuly.

  When i try to access the webapplication using - http://localhost:8080/weblucene/search?dir=blog&query=query

  i'm getting a blank page , with the following error in the console .

  Caught error: java.io.IOException: D:\home\weblucene\webapp\WEB-INF\var\blog\index not a directory
  java.io.IOException: D:\home\weblucene\webapp\WEB-INF\var\blog\index not a directory . 

  Where should i set my path for weblucene directory ?
  Where could be the problem ?

  Thanks in advance !!


Re: Problem in WebLucene

Posted by Che Dong <ch...@chedong.com>.
make sure the IndexRunner build index to 
D:\home\weblucene\webapp\WEB-INF\var\blog\index\


the -o option should be:
IndexRunner -o D:\home\weblucene\webapp\WEB-INF\var\blog -i dump/blog.xml

Che Dong


Sumathi wrote:
> 
>   Hello ,
> 
>             I'm trying to use weblucene in our application . i have created the index using IndexRunner class  sucessfuly.
> 
>   When i try to access the webapplication using - http://localhost:8080/weblucene/search?dir=blog&query=query
> 
>   i'm getting a blank page , with the following error in the console .
> 
>   Caught error: java.io.IOException: D:\home\weblucene\webapp\WEB-INF\var\blog\index not a directory
>   java.io.IOException: D:\home\weblucene\webapp\WEB-INF\var\blog\index not a directory . 
> 
>   Where should i set my path for weblucene directory ?
>   Where could be the problem ?
> 
>   Thanks in advance !!
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org