使用Apex,我想分割一个字符串,然后使用'AND'运算符作为分隔符重新加入它.
我成功地拆分了字符串,但重新加入了它的问题.
String [] ideaSearchText = searchText.Split(' ');
// How to rejoin the array of strings with 'AND'?
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?
单击一次后禁用命令按钮时遇到问题.我正在使用动作功能,但它不能正常工作,不知道为什么?如果我错了,请帮我纠正我的代码吗?
<script>
function validationRule(){
savePost();
}
</script>
Run Code Online (Sandbox Code Playgroud)
代码:
<apex:actionStatus startText="Loading..." stopText="" id="str"> </apex:actionStatus>
<apex:actionRegion >
<apex:actionFunction name="savePost" action="{!save}" rerender="" status="str" >
</apex:actionFunction>
</apex:actionRegion>
<apex:commandButton image="{!URLFOR($Resource.Test, 'Post_Button.png')}" value="Post" onclick="validationRule();" />
Run Code Online (Sandbox Code Playgroud)
请纠正我..
我正面临基于用户点击日志排序Solr结果的问题.我希望首先获得更多访问结果.有谁知道如何在Solr中配置或实现此类属性?
非常感谢你.
lucene search solr information-retrieval collective-intelligence