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" < [email protected]>:
> 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 > <[email protected]> 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" < > > [email protected]>: > > > >> 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 > >> <[email protected]> wrote: > >> > ---------- Weitergeleitete Nachricht ---------- > >> > Von: "Daniel Ebanja" <[email protected]> > >> > Datum: 02.04.2014 15:50 > >> > Betreff: Xwiki 5.4. Implicit Search > >> > An: "Sergiu Dumitriu" <[email protected]> > >> > 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 > >> > [email protected] > >> > http://lists.xwiki.org/mailman/listinfo/users > >> _______________________________________________ > >> users mailing list > >> [email protected] > >> http://lists.xwiki.org/mailman/listinfo/users > >> > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
