5 Replies Latest reply on Oct 2, 2003 1:43 PM by fredrikhultin

    index module

    Viet Master

      I have started to code the index module. it can be used by other modules to index some data.

      for now, it just manage index creations, the module itself doesn't do anything. in the future, it should be possible to use it to perform searhc accross all the modules that index data.

      I coded that for the forum search engine. When I will redo the HTML module, it think that this module will use the index as well to index the site content.


        • 1. Re: index module
          fredrikhultin Newbie

          I just checked out the code and I cant seem to get the index module to compile. The package:org.apache.lucene seems to be missing?

          Can I download it separately or is there something wrong?


          • 2. Re: index module
            Viet Master

            did you do a fresh checkout ? because I modified CVSROOT/modules where the nukes module definition is, you have to recheckout it entirely.


            • 3. Re: index module
              fredrikhultin Newbie

              thanks that worked. Will I have to do a complete checkout often or is this a one timer?

              When I try to deploy the current build I get the following error message:
              21:23:08,549 ERROR [AbstractDeploymentScanner$ScannerThread] Scanning failed; continuing
              java.io.FileNotFoundException: C:\java\jboss-3.2.2RC2\server\default\nukes
              at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:38)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:374)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

              But the application seems to work.

              • 4. Re: index module
                Viet Master

                for that one you have to create a directory jboss/server/default/nukes and put the additional modules (not nukes.ear) here.


                • 5. Re: index module
                  fredrikhultin Newbie

                  Thanks, now it works!