You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2006/06/13 17:22:17 UTC

DO NOT REPLY [Bug 39801] New: - Search results page is specific to default publication

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39801

           Summary: Search results page is specific to default publication
           Product: Lenya
           Version: 1.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Lucene Integration
        AssignedTo: dev@lenya.apache.org
        ReportedBy: andreas@apache.org


The search results page used by the lucene module is specific to the default
publication:

- the navigation elements are hard-coded
- the reference page2xhtml.xsl stylesheet is hard-coded
- stylesheet parameters are hard-coded

IMO this is not acceptable, it should be possible to include the
results page in any publication. In fact, all modules should be
orthogonal to publications, unless they are specifically designed
to extend a certain publication.


I had already implemented a generic search page as a resource type
which could be used in arbitrary publications. It was located in the
search module. What do you think about this approach?

IMO we should change this. I don't see a way to implement the
search results page as a usecase without requiring special
configurations / conventions, and I don't see a problem with
implementing it as a resource type which actually worked very well.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [1.4] Search results page as usecase document (was: DO NOT REPLY [Bug 39801] - Search results page is specific to default publication)

Posted by Josias Thöny <jo...@wyona.com>.
On Mon, 2006-06-19 at 09:55 +0200, Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> bugzilla@apache.org wrote:
> 
> > http://issues.apache.org/bugzilla/show_bug.cgi?id=39801
> > 
> > ------- Additional Comments From andreas@apache.org  2006-06-13 15:25 -------
> > Created an attachment (id=18455)
> >  --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18455&action=view)
> > Patch that uses the usecase module for the search results page
> > 
> > You have to add a usecase document with the document ID "/search". The content
> > has to be:
> > 
> > <?xml version="1.0" encoding="UTF-8"?>
> > <usecase xmlns="http://apache.org/lenya/usecase/1.0" name="lucene.search"/>
> > 
> > The "return to document" link doesn't work yet.
> 
> 
> Did anyone have the time to take a look at this?
> Should I go on with this approach and fix the remaining issues?

I had a quick look at it, I think it's a nice solution.
Do you know if it breaks the search functionality of existing
publications? 

- Josias

> 
> -- Andreas
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [1.4] Search results page as usecase document

Posted by Andreas Hartmann <an...@apache.org>.
Jörn Nettingsmeier wrote:
> Andreas Hartmann wrote:
>> Hi Lenya devs,
>>
>> bugzilla@apache.org wrote:
>>
>>> http://issues.apache.org/bugzilla/show_bug.cgi?id=39801
>>>
>>> ------- Additional Comments From andreas@apache.org  2006-06-13 15:25 
>>> -------
>>> Created an attachment (id=18455)
>>>  --> 
>>> (http://issues.apache.org/bugzilla/attachment.cgi?id=18455&action=view)
>>> Patch that uses the usecase module for the search results page
>>>
>>> You have to add a usecase document with the document ID "/search". 
>>> The content
>>> has to be:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <usecase xmlns="http://apache.org/lenya/usecase/1.0" 
>>> name="lucene.search"/>
>>>
>>> The "return to document" link doesn't work yet.
>>
>>
>> Did anyone have the time to take a look at this?
>> Should I go on with this approach and fix the remaining issues?
> 
> i like it. there is still the open issue that most usecases do not work 
> with your wrapper, but that's a problem of those usecases and orthogonal 
> to the search issue...

I'm not really sure how to solve this, there are some remaining issues:

- CSS (normally handled by the core CSS which is not available in publications)
- tabs (for site and admin area) - can they be removed automatically?

-- Andreas


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: [1.4] Search results page as usecase document

Posted by Jörn Nettingsmeier <po...@uni-duisburg.de>.
Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> bugzilla@apache.org wrote:
> 
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=39801
>>
>> ------- Additional Comments From andreas@apache.org  2006-06-13 15:25 
>> -------
>> Created an attachment (id=18455)
>>  --> 
>> (http://issues.apache.org/bugzilla/attachment.cgi?id=18455&action=view)
>> Patch that uses the usecase module for the search results page
>>
>> You have to add a usecase document with the document ID "/search". The 
>> content
>> has to be:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <usecase xmlns="http://apache.org/lenya/usecase/1.0" 
>> name="lucene.search"/>
>>
>> The "return to document" link doesn't work yet.
> 
> 
> Did anyone have the time to take a look at this?
> Should I go on with this approach and fix the remaining issues?

i like it. there is still the open issue that most usecases do not work 
with your wrapper, but that's a problem of those usecases and orthogonal 
to the search issue...

-- 
"Open source takes the bullshit out of software."
	- Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


[1.4] Search results page as usecase document (was: DO NOT REPLY [Bug 39801] - Search results page is specific to default publication)

Posted by Andreas Hartmann <an...@apache.org>.
Hi Lenya devs,

bugzilla@apache.org wrote:

> http://issues.apache.org/bugzilla/show_bug.cgi?id=39801
> 
> ------- Additional Comments From andreas@apache.org  2006-06-13 15:25 -------
> Created an attachment (id=18455)
>  --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18455&action=view)
> Patch that uses the usecase module for the search results page
> 
> You have to add a usecase document with the document ID "/search". The content
> has to be:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <usecase xmlns="http://apache.org/lenya/usecase/1.0" name="lucene.search"/>
> 
> The "return to document" link doesn't work yet.


Did anyone have the time to take a look at this?
Should I go on with this approach and fix the remaining issues?

-- Andreas



-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 39801] - Search results page is specific to default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39801


thorsten@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.4                         |2.0
            Version|1.4                         |2.0




------- Additional Comments From thorsten@apache.org  2007-07-16 01:58 -------
Renaming Lenya 1.4 to 2.0

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 39801] - Search results page is specific to default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39801


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 39801] - Search results page is specific to default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39801





------- Additional Comments From andreas@apache.org  2006-06-13 15:25 -------
Created an attachment (id=18455)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18455&action=view)
Patch that uses the usecase module for the search results page

You have to add a usecase document with the document ID "/search". The content
has to be:

<?xml version="1.0" encoding="UTF-8"?>
<usecase xmlns="http://apache.org/lenya/usecase/1.0" name="lucene.search"/>

The "return to document" link doesn't work yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 39801] - Search results page is specific to default publication

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39801>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39801


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From andreas@apache.org  2006-08-08 14:09 -------
I removed the "Return to document" link.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org