Thanks,
I needed just that.
Am 03.04.2014 14:13 schrieb "Marius Dumitru Florea" <
mariusdumitru.flo...@xwiki.com>:

> Here
> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-5.4/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrSearch.xml#L1143
>
> #set ($queryString = "$!{text}*")
>
> Hope this helps,
> Marius
>
> On Thu, Apr 3, 2014 at 3:04 PM, Daniel Ebanja
> <danieleba...@googlemail.com> wrote:
> > I had this idea too but the question is where to append * to the
> searchpage.
> > I didn't find where to do that in the velocity code of the search page.
> > Thanks a lot
> > Am 03.04.2014 13:23 schrieb "Marius Dumitru Florea" <
> > mariusdumitru.flo...@xwiki.com>:
> >
> >> It's not unusual that the Search Suggest and the default search page
> >> provide different search results. The search suggest is very targeted
> >> as it provides results from a list of configured sources that look
> >> into specific fields (e.g. Document Content source looks only in the
> >> document content, Attachment Names looks only in the attachment names,
> >> etc.). The default search page on the other hand provides generic
> >> results because it looks everywhere. It's normal that the same result
> >> gets a different score when you search only in a specific field than
> >> when you search on all fields.
> >>
> >> Moreover, the search suggest does (in XWiki 5.4) prefix matching by
> >> default. It appends * (star) automatically at the end of the typed
> >> text. The default search page doesn't do that. So there are two
> >> options:
> >>
> >> (1) type * at the end of your search text (i.e. explicitly tell the
> >> search engine that you want prefix matching)
> >> (2) modify the default search page to append the * automatically (but
> >> note that the search query supports a special query syntax which you
> >> can break by appending * blindly; the special query syntax is used by
> >> advanced users)
> >>
> >> Hope this helps,
> >> Marius
> >>
> >>
> >> On Thu, Apr 3, 2014 at 12:56 PM, Daniel Ebanja
> >> <danieleba...@googlemail.com> wrote:
> >> > The actual problem is the result in the result in the standard search
> >> page.
> >> > Am 03.04.2014 11:20 schrieb "Marius Dumitru Florea" <
> >> > mariusdumitru.flo...@xwiki.com>:
> >> >
> >> >> Which search engine are you using? Solr, Lucene or Database? See
> >> >>
> >> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSearchAdministration
> >> >> .
> >> >> Are you referring to the standard search page (e.g.
> >> >>
> >> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/download/Extension/Solr+Search+Application/searchPage.png
> >> >> ) or to the Search Suggest (
> >> >>
> >> >>
> >>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSearchSuggest
> >> >> ) input from the top right corner?
> >> >>
> >> >> On Wed, Apr 2, 2014 at 11:26 PM, Daniel Ebanja
> >> >> <danieleba...@googlemail.com> wrote:
> >> >> > ---------- Weitergeleitete Nachricht ----------
> >> >> > Von: "Daniel Ebanja" <danieleba...@googlemail.com>
> >> >> > Datum: 02.04.2014 15:50
> >> >> > Betreff: Xwiki 5.4. Implicit Search
> >> >> > An: "Sergiu Dumitriu" <ser...@xwiki.org>
> >> >> > Cc:
> >> >> >
> >> >> > Hi Sergiu,
> >> >> > i have this problem when I search.
> >> >> > Searching for say, "foot" gives me only results where this word is
> >> >> > explicitly found.
> >> >> > I will like to have implicit results e.g footy, football i.e as if
> i
> >> had
> >> >> > searched for foot*. Can this be configured in xwiki.cfg?
> >> >> > Thanks in advance.
> >> >> > Wish you a nice day.
> >> >> > Daniel
> >> >> > _______________________________________________
> >> >> > users mailing list
> >> >> > users@xwiki.org
> >> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users@xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> > _______________________________________________
> >> > users mailing list
> >> > users@xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to