I will digest all of that and apply it.
Yyumi! :-)
________________________________
De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Envoyé le : Lundi 15 septembre 2014 15h35
Objet : Re: [xwiki-users] Solr and blank characters
On Mon, Sep 15, 2014 at 4:22 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
> Thxs a lot for this detailled explaination and these links: it helps my tiny
> xwiki knowledge. :-)
>
> If I want looking for a string in all my fields on my EAClass, I must add
> all my fields in
> set ($solrConfig = {
> 'queryFields': 'title^3
> property.Formulaires$20SMQ.EAClass.A_ExpertsAutre
> property.Formulaires$20SMQ.EAClass.MyField
> property.Formulaires$20SMQ.EAClass.AnotherField
> property.Formulaires$20SMQ.EAClass.AnotherOne',
> or I can use something like this ?
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.*
No, like this:
'queryFields': 'title^3 object.Formulaires$20SMQ.EAClass'
See http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HDocumentFields
. The downside is that the name of the property whose value is matched
won't be displayed in the search results (you match the entire object
not just a particular property).
Hope this helps,
Marius
>
> ________________________________
> De : Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>; XWiki Users <users(a)xwiki.org>
> Envoyé le : Lundi 15 septembre 2014 14h59
>
> Objet : Re: [xwiki-users] Solr and blank characters
>
> Sorry for the late reply.
>
> On Fri, Sep 5, 2014 at 6:18 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
>> Hello,
>> I try to writing a search page in my application, but unfortunaly I used
>> bank characters in my spave name :-(
>> I try to applie this method:
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…
>> without succes.
>
>> I tried to replace blank with + character and/or add " character or '
>
> No. It doesn't work like this. See
> http://design.xwiki.org/xwiki/bin/view/Design/SolrSchema#HEncodingDynamicFi…
> and
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53RC1#HSe…
> :
>
> "We're using an encoding scheme similar to the URL-encoding to support
> special characters in the Solr index field names"
>
>>
>> The result is an error or no search result...
>>
>> Have you got a tip to escape blank character in my code?
>>
>> {{include reference="XWiki.SearchCode"/}}
>>
>> {{velocity output="false"}}
>> #if ($searchEngine == 'solr')
>> ## Customize the Solr Search UI for the application.
>> #set ($solrConfig = {
>
>> 'queryFields': 'title^3
>> property.Formulaires+SMQ.EAClass.A_ExpertsAutre',
>
> 'queryFields': 'title^3 property.Formulaires$20SMQ.EAClass.A_ExpertsAutre',
>
>> 'facetFields': ['creator', 'creationdate', 'author', 'date',
>> 'mimetype', 'attauthor', 'attdate', 'attsize'],
>> 'filterQuery': [
>> 'type:DOCUMENT',
>> "wiki:$xcontext.database",
>
>> "space_exact:Formulaires+SMQ",
>> 'class:Formulaires+SMQ.EAClass'
>
> These are different. See
> https://wiki.apache.org/solr/SolrQuerySyntax#Default_QParserPlugin:_LuceneQ…
>
> "Certain characters are special and those characters need to be
> escaped using quotes or a backslash if you want them to be treated as
> literals."
>
> This works for me:
>
> 'space_exact:"Formulaires SMQ"',
> 'class:"Formulaires SMQ.EAClass"'
>
> Hope this helps (next time :) ),
> Marius
>
>
>> ]
>> })
>> #end
>> {{/velocity}}
>>
>> {{velocity}}
>> {{include reference="$searchPage"/}}
>> {{/velocity}}
>>
>>
>>
>>
>> Thxs
>>
>> Pascal B
>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
Hello,
I try to writing a search page in my application, but unfortunaly I used bank characters in my spave name :-(
I try to applie this method: http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio… without succes.
I tried to replace blank with + character and/or add " character or '
The result is an error or no search result...
Have you got a tip to escape blank character in my code?
{{include reference="XWiki.SearchCode"/}}
{{velocity output="false"}}
#if ($searchEngine == 'solr')
## Customize the Solr Search UI for the application.
#set ($solrConfig = {
'queryFields': 'title^3 property.Formulaires+SMQ.EAClass.A_ExpertsAutre',
'facetFields': ['creator', 'creationdate', 'author', 'date', 'mimetype', 'attauthor', 'attdate', 'attsize'],
'filterQuery': [
'type:DOCUMENT',
"wiki:$xcontext.database",
"space_exact:Formulaires+SMQ",
'class:Formulaires+SMQ.EAClass'
]
})
#end
{{/velocity}}
{{velocity}}
{{include reference="$searchPage"/}}
{{/velocity}}
Thxs
Pascal B
Hello,
With 6.2 RC1, could you open Sandbox page with WYSIWYG under IE9?
When you move you cursor on the page, DIVS blinking or more precisely right "Information doc" box jump at the bottom of the page...
It's annoying because Sandbox is a little bit the showcase of Xwiki.
Didn't you manage to reproduce this bug?
Pascal BASTIEN
Hello.
We're using the most recent version of xWiki (6.1) with the most recent FAQ Application (6.1) installed.
When I go to create/contribute FAQ items they do NOT appear listed under the FAQ.WebHome space. FAQ items when edited directly DO appear to have the FAQ attribute set for source Space. They also DO have FAQ.WebHome set as the parent.
When I go to manually search for said items from the FAQ.WebHome widget they also do NOT appear under a FAQ search results.
We are using the Solr search engine with XWQL and no custom queries defined.
We were using Lucene and when we searched for said items from the FAQ.WebHome widget they would appear as a result of a FAQ search, but still were NOT listed under the FAQ.WebHome space.
What are we missing?
Much thanks in advance.
~P
This post has NOT been accepted by the mailing list yet.
Help please im trying to upload a file that is 30.02 mb big and everytime i
try to upload this zip file i get this message. Please help im about to get
crazy. I allready change the max value of upload size.
Error number 0 in 11: Uncaught exception
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:370)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:368)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:488)
at
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:943)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1004)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown
Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at
org.suigeneris.jrcs.util.ToString.arrayToString(ToString.java:110)
at org.suigeneris.jrcs.rcs.impl.Node.setText(Node.java:349)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:243)
at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:214)
at
com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:185)
at
com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:740)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1642)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1601)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:536)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:178)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:171)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1246)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1190)
at
com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:214)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:346)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1448)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
--
View this message in context: http://xwiki.475771.n2.nabble.com/HELP-Java-Heap-Space-tp7592101.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
Thanks for the feedback. I tried contacting xwiki cloud services because,
while their offer page says they allow for free use up to 5 users, I could
find no links that actually allowed for the creation of such a wiki except
under a paid plan. They have not contacted me back.
Etherpad may work, but the site specifies that it is intended for Mozilla
related work.
I could indeed download and try to install xwiki (though I'm on a mac), but
I was hoping my roommates could access it from their phones.
Am I in the wrong place? The wording of the mywiki page suggested that it
was free for individual and non-profit use. Perhaps I misunderstood.
-Drew
So installing the Google Apps Extension seemed easy enough, but now I'm
a bit lost with getting the right info from my google account... any
help would be appreciated!
In the xwiki app, the links go to OAuth1, which google no longer uses,
so I went to the OAuth2 pages, but am not sure exactly what I need to
enable, etc..
In the xwiki settings, I need to fill in:
Application Name
Secret Key
Scope
Domain Google Apps
I have a Google Apps for Business account set up, with my own domain.
Paul Pinkerton
KnowledgeNow Project Lead
Hello,
We have a BI-system, based on MS SQL Server Reporting Services (SSRS). We would like to show reports from BI-system in XWiki. Is it possible to integrate XWiki and SSRS? How can I do this?
Vladimir.