在新手册中创建Credit Memo的API调用是什么?(What are the API Calls to create the Credit Memo in freshbooks?)
我无法找到API调用来在新手册中创建贷记凭证,如果有人给我一个贷记凭证API调用的链接,我将非常感激。
我已经在这里搜索了API,没有运气https://www.freshbooks.com/developers
谢谢。
I am unable to find the API Calls to create the credit memo in freshbooks, I will really appreciate if anybody give me a link for credit memo API Calls.
I have already searched for the API here with no luck https://www.freshbooks.com/developers
Thank you.
原文:https://stackoverflow.com/questions/35892233
最满意答案
我很确定突出显示查询字符串是不可能的 - 只突出显示索引中的部分文档。
您可能尝试的是将查询字符串本身索引在其自己的索引中,然后使用第一个查询的结果作为针对查询字符串的第二个查询的查询项(在第二个索引中)。 然后,您可以在查询字符串上突出显示。 你每次都要向ES发出额外的请求,但我认为它会得到你想要的。
I'm quite sure highlighting the query string isn't possible - only highlighting parts of documents in an index.
What you might try is indexing the query string itself in it's own index and then using the results of the first query as the query terms for a second query against the query string (in the second index). You could then have highlighting on the query string. You'll have to make an extra request to ES each time, but I think it'll get what you want.
相关问答
更多-
我很确定突出显示查询字符串是不可能的 - 只突出显示索引中的部分文档。 您可能尝试的是将查询字符串本身索引在其自己的索引中,然后使用第一个查询的结果作为针对查询字符串的第二个查询的查询项(在第二个索引中)。 然后,您可以在查询字符串上突出显示。 你每次都要向ES发出额外的请求,但我认为它会得到你想要的。 I'm quite sure highlighting the query string isn't possible - only highlighting parts of documents in a ...
-
Elasticsearch突出显示HTML中的匹配而不会破坏语法(Elasticsearch highlight matches in HTML without breaking syntax)[2022-02-08]
实现此目的的一种方法是在分析preview_html字段时使用html_strip char过滤器 。 这将确保在html标记上不会发生匹配,因此突出显示会忽略它,如下例所示。 例: put test { "settings": { "index": { "analysis": { "char_filter": { "my_html": { "type": "html_strip" ... -
而不是query_string查询我将其更改为multi_match { "from": 0, "size": 10, "query": { "multi_match" : { "query": "Troy", "fields": [ "customer_num^2", "full_name^3", "invoice_numbers", ...
-
elasticsearch>从查询结果中消除空值的问题(elasticsearch › Problems with eliminating null values from query results)[2023-02-26]
我会将exists过滤器与must_not结合起来。 这是一个搜索字段“authResult.address.state”的示例 GET index1/type1/_search { "size": 10, "query": { "filtered": { "query": { "match_all": {} }, "filter": { "bool": { "must": [ { ... -
从下往上工作可能会让理解DSL变得困难。 Elasticsearch文档的布局方式对于学习DSL非常有帮助。 如果您从本页开始,只需点击转发,我认为它可以很好地解释DSL。 至于你的具体问题,Elasticsearch DSL对象结构确实将字段名称“query”用于不同的目的。 所有Request-Body查询(即不是Query-String查询的查询)都以query context开始。 这是影响分数的查询子句的容器。 子句是用于定义搜索的各种叶节点,例如match和term 。 查询还可以包含一个fil ...
-
根据文档,您的映射是错误的 如果要突出显示附件内容,则需要为附件字段设置“store”:true和“term_vector”:“with_positions_offsets”。 这是一个完整的脚本: 我看到你在代码中拥有所有这些,所以也许你在创建索引后添加了它。 尝试删除并重新创建它 似乎Nest无法映射复杂类型 var indexDescriptor = new CreateIndexDescriptor(new IndexName {Name = Applicatio ...
-
如何使用ElasticSearch中的多个字段进行bool查询?(How to make a bool query with must over multiple fields in ElasticSearch?)[2023-04-04]
使用multi_match而不是你很好: String queryString = "mulan szechuan sauce"; QueryBuilder multiMatchQuery = QueryBuilders.multiMatchQuery(queryString, "title", "tags", "categories"); QueryBuilder combinedBoolQuery = QueryBuilders.boolQuery() .must(multiMatch ... -
您可以通过为每个查询指定名称来为此使用命名查询。 在结果中,每个匹配都将包含一个matched_queries数组,其中包含匹配的查询的名称(例如,下面的matched_queries和strikethrough_query )。 然后,您可以在客户端使用该信息来构建一个不匹配的删除词列表。 { "query": { "bool": { "should": [ { "match": { "content": { ...
-
如何在Elasticsearch中突出显示span_near查询?(How do you highlight span_near queries in Elasticsearch?)[2022-07-20]
事实证明,这是ES v2.1.1中的一个已知错误,它由此拉取请求修复: https://github.com/elastic/elasticsearch/pull/15516 。 根据PR上的标签,此错误修复将成为v2.1.2的一部分。 It turns out that this is a known bug in ES v2.1.1, and it is fixed by this pull request: https://github.com/elastic/elasticsearch/pull/1 ... -
在Elasticsearch中突出显示(Highlight in Elasticsearch)[2022-06-02]
正如我在评论中所说,我不认为这可以在Elasticsearch中完成。 荧光笔只是突出显示它匹配的术语,并且不再进行后期处理(我在Elasticsearch 2.3的文档中找不到任何可以使其能够这样做的证据)。 无论如何,我的逻辑方法是在渲染HTML代码时添加...标记。 {{ foreach hit in hits }} ... hit[content] ... {{ endfor }} 像这样的东西,只需修改它以适合您的模板。 As I stated in t ...