Global search in Summaries

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Global search in Summaries

bruno.buzzi
Hi,

In the latest version of Orbeon the Summaries are separated by Version
(selecting a ComboBox).

This is very convenient but it has a drawback :)

If i want to perform a search over a field that is present in all versions i
have to do the search version by version. (Tested on
https://demo.orbeon.com/)

If you have a lot of versions the search can be tricky.

regards,
bruno

PS: i'm not requesting a new feature just testing GemStone/S Persistence
Layer with latest Orbeon and doing updates


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1562685176088-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Global search in Summaries

Alessandro  Vernet
Administrator
Hi Bruno,

I agree; we implemented the current system in 2018.2, as before summary
pages where using the fields marked for summary/search in the latest form
definition, but applying this to all form data, which could potentially be
incorrect. The current system is correct (and more sane!), but isn't ideal
for cases where the fields you're showing on the summary page don't change
much between versions. Would you have some ideas how to improve this?

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1562865240945-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Global search in Summaries

bruno.buzzi
Alex,

I agree the current system is much better just mentioning a border case with
a drawback.

One way to solve it it will be:
1) Add checkbox next to each search fields: "Search in all Versions"
2) Enable this checkbox in properties-local.xml
3) Add a header in the call to the Persistence Layer.
If the header is "true" then the search should be performed in all versions.

The problem here is how to display the result.
If two different versions match the search and summary fields are different
in both versions then ???

Other solution:
* To have a ../summary?global=true
In this Global Summary instances of all versions are displayed and the
search is performed on al versions. And the fields to display is the
intersection of all versions definitions (here is responsibility of the form
designer to avoid an empty intersection between all versions).
Also the search fields is the intersection of all search fields in all
versions (designer responsibility here again).

These are general ideas, not sure how difficult it will be the
implementation.

regards,
bruno



--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1562944161613-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Global search in Summaries

Alessandro  Vernet
Administrator
Hi Bruno,

I like the idea of having a "Search in all Versions" checkbox, thank you for
the suggestion. One implementation wrinkle is that it means we would need to
index every document for all the fields marked as search or summary in *all*
the versions of the form definition. I'm not sure that what we would gain
from this feature is worth the implementation and runtime cost.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1563223520411-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet