3 Replies Latest reply on Apr 18, 2003 10:38 AM by Viet

    Is there a plan for Search module?

    Alex Shneyderman Newbie

      Hi, all!

      I was contemplating a thought of implementing it using lucene.

      The module would adhere to the following requiremenets:

      1. Module would expose its indexContent operation for interested modules to use for indexing its content.

      2. Ability to create multiple indecies (per module? maybe not)

      3. Module will enable grouping of indecies for convenience of search (see SearchBlock later). Index might belong to one or more groups.

      4. Metadata of each index whereabouts will be persisted to the db thru ejb. Lucene needs to know the directory where the index is and analyzer that indexed the data in that index.

      5. User will be provided with a SearchBlock where each group is searchable (including a supergroup that groups all the indecies together)

      Is this something that might be usefull?
      Any thoughts?

      Thanks,
      Alex.

        • 1. Re: Is there a plan for Search module?
          Viet Master

          we are looking forward to implement a search module without having looked at in details.


          > Hi, all!
          >
          > I was contemplating a thought of implementing it
          > using lucene.

          I did an indexing service for forums. But very basic.
          It's great software.

          >
          > The module would adhere to the following
          > requiremenets:
          >
          > 1. Module would expose its indexContent operation for
          > interested modules to use for indexing its content.
          >


          why not, or maybe we could define a contract for modules that want to define their content as indexable. Visitor pattern seems appropriate.
          Something like

          interface Indexable
          {
          visit(IndexVisitor o);
          }

          The index module would offer operation
          for search + management operations
          like rebuild index, etc....

          > 2. Ability to create multiple indecies (per module?
          > maybe not)
          >
          > 3. Module will enable grouping of indecies for
          > convenience of search (see SearchBlock later). Index
          > might belong to one or more groups.
          >
          > 4. Metadata of each index whereabouts will be
          > persisted to the db thru ejb. Lucene needs to know
          > the directory where the index is and analyzer that
          > indexed the data in that index.

          We should do that transparently and have a pluggable persistence strategy.

          >
          > 5. User will be provided with a SearchBlock where
          > each group is searchable (including a supergroup that
          > groups all the indecies together)
          >

          yes cool

          > Is this something that might be usefull?
          > Any thoughts?
          >

          are you intersted in implementing it ?

          > Thanks,
          > Alex.

          • 2. Re: Is there a plan for Search module?
            Alex Shneyderman Newbie

            > are you intersted in implementing it ?

            I started it just not sure how far it will take me :-)
            It does not look all that complicated.

            Alex.

            • 3. Re: Is there a plan for Search module?
              Viet Master

              great, if you need help, do not hesitate, forums are here for that.