Do you know if the Website and DMS can be queried simultaneously via Jackrabbit 
API if this is not available via Magnolia API?

If not, is it possible so somehow do 2 separate queries and then merge the 
results but in a such a way that the relevance is intact?

Thanks
 
Amir
 

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 18, 2007 5:57 AM
> To: [email protected]
> Subject: Re: [magnolia-user] Searching Documents in Magnolia
> 
> Hi,
> 
> The website and the DMS (document zone) are different 
> Jackrabbit repositories and cannot be quired simulteaneously, 
> at least, not with the basic APIs, as far as I know.
> That's why the SimpleSearchTag is configured, by default, to 
> search inside the Website repository 'only'.
> If you want to perform a DMS search, you have to modify this 
> behavior, which is actually a simple thing to do, but 
> requires that you write or recompile your own version of the tag.
> 
> I suggest you chek out this thread from the archive 
> http://article.gmane.org/gmane.comp.cms.magnolia.user/6474/
> 
> Basically, it says that you can copy/paste the source code of 
> SimpleSearch Tag, and modify it in one single line to search 
> through documents instead of searching through the webiste 
> (getQueryManager
> (ContentRepository.DMS) being the thing to write).
> If you want to do combined search, it's not really much more 
> complicated, but then, you have to deal with different kinds 
> of results (you might want to deal differently with results 
> like a document or like a web page) when you display you results.
> 
> The archive thread above also links to another thread having 
> to do with searching.
> Hope this helps.
> Guillaume.
> 
> Le 18 juin 07 à 11:39, g2293 a écrit :
> 
> > Any luck with the search using Lucene API? If so, I want to 
> know how 
> > you managed to do this as we are also facing same situation.
> >
> > Thanks,
> > Kalyan
> > Magnolia - User mailing list wrote:
> >>
> >> I have created a website in Magnolia and I want it to 
> search within 
> >> the documents posted on it. I notice that Jackrabbit uses 
> Lucene, so 
> >> should be able to do this. The sample search template returns no 
> >> results when I search for words within the documents. Any 
> help would 
> >> be greatly appreciated as I'm a newbie.
> >>
> >> Thanks, Bonnie
> >>
> >>
> >> ----------------------------------------------------------------
> >> for list details see
> >> http://www.magnolia.info/en/magnolia/developer.html
> >> ----------------------------------------------------------------
> >>
> >>
> > Quoted from:
> > http://www.nabble.com/Searching-Documents-in-Magnolia-
> > tf2016293.html#a5542643
> >
> >
> > ----------------------------------------------------------------
> > for list details see
> > http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> > ----------------------------------------------------------------
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to