Hello,
I am akshay ,
    I am using PyLucene 2.1 for indexing and searching in web application.
    I am using Linux(CentOS 5.0), apache(2.2.3), Django(0.96) web framework for web application.
    I am able to index my data properly.I have also written a lucene console interface module.
    This lucene console interface module can add ,delete ,search in indexing.This modules works
    properly. Now I want to access my lucene indexes from url call with urllib.When I call the url which
    accesses my lucene Index the call gets hanged and after few minutes it returns None.
    I am able to import PyLucene properly.
    Actually I noticed that  whenever it  tries to execute a PyLucene statement, after that it gets hanged.
    The statement is as follows.

    index_dir = "some index dir location"
    IS = IndexSearcher(index_dir) # After this statement program gets hanged.

    If I run the same code from console I am able to get the proper results.
    Previously I was using PyLucene 0.98 and it was working fine .
    Please ,Help me if anyone have came across the same problem and solved it.

   Thank you in advance.


 
 
 
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to