jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: SimilaritySearch help needed
Date Fri, 20 Jun 2008 13:01:38 GMT
Hi,

there are certain conditions that must be met for the similarity search to work 
properly.

I've updated the wiki page. please have a look at: 
http://wiki.apache.org/jackrabbit/SimilaritySearch

regards
  marcel

jakobitsch juergen wrote:
> Hy there, 
> 
> i can't get SimilaritySearch to work :
> 
> in my environment i'm extracting keyphrases [ kea ] from given texts. i'm 
> saving the texts along with the keyphrases and finally want to be able
> to select similar texts based on the extracted keyphrases. i tried a couple
> of xpath-queries [ xpath - newbie , i should admit ], none of the worked as i wanted
it to.
> 
> at the moment i'm using the follwing structure for my texts [ i'm willing to change if
necessary ]
> 
> rootNode
>    +2sea:BlogSphere
>       +2sea:BlogEntry [ @2sea:BlogEntryTitle, @2sea:BlogEntryContent ]
>          +2sea:Key [ @2sea:Phrase ]
> 
> for example :
> 
> 2sea:BlogEntry 1 :
> @2sea:BlogEntryTitle = "aloha 21"
> @2sea:BlogEntryContent = "java is a wonderfull programming language"
>    +2sea:Key
>      @2sea:Phrase = "java"
>    +2sea:Key
>      @2sea:Phrase = "programming language"
> 
> 
> 
> 2sea:BlogEntry 2 :
> @2sea:BlogEntryTitle = "welcome 23"
> @2sea:BlogEntryContent = "programming languages like java or perl..."
>    +2sea:Key
>      @2sea:Phrase = "java"
>    +2sea:Key
>      @2sea:Phrase = "programming language"
>    +2sea:Key
>      @2sea:Phrase = "perl"
> 
> so these should similar based on the key->Phrase
> 
> is this possible anyway or do i have to have a certain structure to be able to get similar
nodes.
> it might help to just have a property 2sea:KeyPhrases with a String[] as Value
> 
> any help appreciated 
> wkr j
> www.2sea.org
> 
> 
>       
> 


Mime
View raw message