jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alartin <alar...@gmail.com>
Subject Re: Impossible to manipulate lucene directly?
Date Mon, 19 Mar 2007 10:06:09 GMT

  I think there are two level in search: System level and Application level.
The core of system level search is QueryHandler and jackrabbit uses lucene
to implements. It is a general method to handle all nodes and properties.
 But sometimes, I am much interested in the search of application level. For
example, a webpage node may contain
url property, title property, image nodes, and content nodes. As a user, I
am only interested in index and search title and content rather than url
property and other nodes which are considered in system level.
 So the question is same to how to custom application level index and query. 
 The only way I thought is to develop your own index and search module using
Lucene and handle all the events include updating, re-indexing yourself. Of
course, there must be a lot of redundance and hard problems(such as
verions). Any helps?

alartin wrote:
> Hi, all
>    What can I do if I need some search engine like search functions rather
> than XPath or SQLs? For example, I store some information in nodes, say
> one webpage content per node and I want to find "similar pages" according
> to their cotents. This is a simple task when I use lucene directly. But
> what can I do if I use jackrabbit as underlying layer?
>   And what can I do if I need some short description of the hit and
> highlight the query terms??
>   It seems Lucene is only used as a search library to implement the JCR
> sepecification, doesn't  it? Is it possible to manipulate Lucene directly?

View this message in context: http://www.nabble.com/Impossible-to-manipulate-lucene-directly--tf3425757.html#a9549173
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message