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
<danielebanja(a)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.florea(a)xwiki.com>gt;:
Which search engine are you using? Solr, Lucene
or Database? See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSe…
.
Are you referring to the standard search page (e.g.
http://extensions.xwiki.org/xwiki/bin/download/Extension/Solr+Search+Applic…
) or to the Search Suggest (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Search+Application#HSe…
) input from the top right corner?
On Wed, Apr 2, 2014 at 11:26 PM, Daniel Ebanja
<danielebanja(a)googlemail.com> wrote:
---------- Weitergeleitete Nachricht ----------
Von: "Daniel Ebanja" <danielebanja(a)googlemail.com>
Datum: 02.04.2014 15:50
Betreff: Xwiki 5.4. Implicit Search
An: "Sergiu Dumitriu" <sergiu(a)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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users