FAQ
Hello

I am a BEGINNER  for using java, and I havent use it at all! now I need to implement a program which can retrieve TREC docs and..
I studied "Lucene in action"  and understand the topics, but when i tried to implement examples I couldnt! its just because in fact I dont now in which enviroment i should implement them. i downloaded apache ant but couldnt install cause it said it needs JDK, and...

Now I want to implement my idea, but I dont know what should i install?! is it a visual tutorial for these?  please say me step by step which softwares should i install to have ability implement your examples and finally  my program.  My OS is windows xp sp2.
Please help me, I really need your help, plese help me

Search Discussions

  • Donna L Gresh at Jul 21, 2011 at 6:15 pm
    This is really not the forum for questions like this (which are not
    related to Lucene but rather to Java) but for a very simple checklist of
    what you need, try this:
    http://download.oracle.com/javase/tutorial/getStarted/cupojava/win32.html

    But I ask that any further questions which are purely java related NOT be
    asked here. If you want a real development environment (rather than a text
    editor) you might look into Eclipse http://www.eclipse.org/. But again--
    no Eclipse questions here please!


    Vahideh Reshadat <[email protected]> wrote on 07/21/2011 01:19:30 PM:
    [image removed]

    please help

    Vahideh Reshadat

    to:

    java-user

    07/21/2011 02:07 PM

    Please respond to java-user

    Hello

    I am a BEGINNER for using java, and I havent use it at all! now I
    need to implement a program which can retrieve TREC docs and..
    I studied "Lucene in action" and understand the topics, but when i
    tried to implement examples I couldnt! its just because in fact
    I dont now in which enviroment i should implement them. i downloaded
    apache ant but couldnt install cause it said it needs JDK, and...

    Now I want to implement my idea, but I dont know what should i
    install?! is it a visual tutorial for these? please say me step by
    step which softwares should i install to have ability implement your
    examples and finally my program. My OS is windows xp sp2.
    Please help me, I really need your help, plese help me
  • Mihai Caraman at Jul 21, 2011 at 6:32 pm
    Before you get into Java, you should know that it's posible to find a lucene
    implementation for your language. Lucene is available in python, c# .net,
    etc... Search for that first.

    If you chose Java, you'll need to make baby steps. Install yourself an IDE
    (eclipse, netbeans...) to get rid of all the ant/jdk/etc.. setups.
    Then you'll need to create a project,
    download lucene<http://lnx.apollo-hw.ro/apache//lucene/java/3.3.0/lucene-3.3.0.zip>,
    import just the lucene-core-3.3.0.jar from the mentioned zip
    but first you need to learn how to import *.jar files into a project for the
    chosen IDE (google atleast this)
    and in your project, create a .java source file and write :
    *import org.apache.lucene.search.IndexSearcher; *
    to use IndexSearcher object, and do the same for other unresolved classes
    (consulting the
    JavaDoc<http://lucene.apache.org/java/3_3_0/api/core/index.html>)


    now you can copy paste examples from the book.

    Further info is available on the web, especially for you to learn Java. This
    mailing list is more for high level lucene fiddling.

    Hope you understand.
    Happy learning!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedJul 21, '11 at 6:06p
activeJul 21, '11 at 6:32p
posts3
users3
websitelucene.apache.org

People

Translate

site design / logo © 2023 Grokbase