[xwiki-users] Which Separator in properties name I can use?
Hello, I'm writing an xwiki application and I start fighting with solr search. On http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API#H... I read "The list of typed (non-string) dynamic fields that will be expanded in the search query. The names of these fields are suffixed with the name of their data type (e.g. *_int is a dynamic integer field)." Unfortunaly in my application I use same prefixe in my properties name (_) to add some dynamic bootstrap tab (and another things)! An example: CodeH_Deb_P1 or P1_EaAutrDO_Cond_Invisi I suppose _ is hardecoded in xwiki, then I must replace all my _ character in my properties name and Sheets code but could you suggest a character I can use without problem? This one ~ perhaps? By the way: I didn't manage to make this example work with this code on xwiki 6.4+Expense Report Application: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFor... Thxs. Pascal B
On Tue, Mar 3, 2015 at 4:57 PM, Pascal BASTIEN <[email protected]> wrote:
Hello,
I'm writing an xwiki application and I start fighting with solr search. On http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API#H... I read "The list of typed (non-string) dynamic fields that will be expanded in the search query. The names of these fields are suffixed with the name of their data type (e.g. *_int is a dynamic integer field)."
Unfortunaly in my application I use same prefixe in my properties name (_) to add some dynamic bootstrap tab (and another things)! An example: CodeH_Deb_P1 or P1_EaAutrDO_Cond_Invisi
There shouldn't be any problem if you have an underscore in the property name.
I suppose _ is hardecoded in xwiki, then I must replace all my _ character in my properties name and Sheets code but could you suggest a character I can use without problem?
This one ~ perhaps?
By the way: I didn't manage to make this example work with this code on xwiki 6.4+Expense Report Application: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFor...
What exactly didn't work. It works for me. I made some small changes to make it more clear. Hope this helps, Marius
Thxs. Pascal B
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Marius Dumitru Florea -
Pascal BASTIEN