Hi,Marius, I have some problems with the processes of the suggestions.
(1) As we discussed, when "[[" is triggered at first without any queries,
we should give user some default suggestions like recently modified. However
I indeed can the recent modified pages now, but I can not get recently
upload attachments, the question is is the recently upload attachments
necessary? if so, how can I get it, and can I add it to the same wikipage
"XWiki.recently modified"?
(2) When user keeps typing, then he can trigger some sub link triggers like
"attach:", ".", "@" and "||"
If "attach:" is triggered without any queries, should we give the user
some default suggestions, if so, what suggestions should we give, till now,
I give the the attachments start with "a" as default.
if "." is triggered, there are two situations: first is under the
wikipage context, so when it is triggered without any queries, what should
we give to user as default suggestions, because when "." is trigger, we must
narrow the search range to the specific space, for example, when user type
"[[Main.", then the suggestions and also the default suggestions should
under the Main space.
second is under attachment context, like "[[attach:Main.", what should be
the default suggestions for users?
if "@" is triggered, we must give the attachment suggestions to users
under attachment context, like "[[attach:Main.mypage@", so what is the
default suggestions for this situation?
if "||" is triggered, I think we may not query the server, because the
attributes of link are static, but what attributes are supported?
On Tue, Jul 26, 2011 at 3:37 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
Hi James,
On 07/24/2011 05:15 PM, 许凌志(Jamesxu) wrote:
Hi, Last week I have done following things:
1. Refine the suggest lucene service, and a query "media", which have
two options: "xml" and "json", each gives the xml
and json results.
2. Thanks Eduard, Marius and Sergiu, with their help, I finnally find
the right search queries of suggest lucene service to get right
suggestion results.
3. The autosuggestion can use the real datas from xwiki now.
In this week, I am going to do the following
things:
1. Implement the whole context for link suggestion, include "attach:",
"@", "." and "||".( I have done some designations, but
still want to
discuss with mentors)
2. Consider to implement the ctrl+space to re-open the suggestion box
according to the different contexts of link suggestion.(after the 1 is
finished)
Sounds good. Ping me on IRC when you need help.
Thanks,
Marius
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University