Reindex Database Operation

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

Reindex Database Operation

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

Alessandro  Vernet
Administrator
Hi Bruno,

It is done by a service: in `fr/page-flow.xml`, you'll see that
`/fr/service/([^/]+)/reindex` is mapped to `reindex.xpl`, which in turn just
runs the `fr:relational-persistence-reindex` processor. And in the Form
Runner home page, from which you would typically trigger the reindexing,
calls that service (see `fr/home/home.xhtml`). Or were you looking for
something else?

https://doc.orbeon.com/form-runner/feature/home-page.html#reindexing

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].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

Alessandro  Vernet
Administrator
Hi Bruno,

Oops… it's our fault: not all implementations of the persistence API support
all features, so optional features are disabled by default, and you can
enable them for a given implementation with a property.

So I think we should have properties of the form
`oxf.fr.persistence.oracle.reindex` set to `true` if the `oracle` provider
support indexing, and `false` otherwise. But instead, of using a property
our code in `FormRunnerPersistenceProxy.proxyReindex()` relies on a list of
providers hardcoded in `Index.ProvidersWithIndexSupport`. I've created an
issue for this, and will try to implement this soon.

https://github.com/orbeon/orbeon-forms/issues/3486

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].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

Alessandro  Vernet
Administrator
This one is now fixed:

Starting with the upcoming 2018.1, you'll be able to use the
`oxf.fr.persistence.PROVIDER.reindex` property to instruct Orbeon Forms that
your provider supports reindexing. I've also backported this to our
`2017.2-pe` branch, so this will be included in the upcoming Orbeon Forms PE
2017.2.1.

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].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Reindex Database Operation

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.