Roman86
Forum Replies Created
-
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta field<arr name=”punchline_value_str”>
<str>Punchline value1</str>
</arr>
The value of this field is “Punchline value1”
i have added this for testForum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldI have install new version of the plugin to my local.
The “puncline_value” is indexed.
<response>
<result name=”response” numFound=”1″ start=”0″>
<doc>
<str name=”id”>54687</str>
<str name=”PID”>54687</str>
<str name=”author”>Roman</str>
<str name=”author_s”>https://avenir.loc/author/roman/</str>
<arr name=”autocomplete”>
<str>Test Title1</str>
<str/>
<str>News</str>
</arr>
<arr name=”categories”>
<str>News</str>
</arr>
<str name=”content”/>
<str name=”displaydate”>2016-02-03 17:53:00</str>
<str name=”displaymodified”>2016-02-04 10:20:08</str>
<int name=”numcomments”>0</int>
<str name=”permalink”>https://avenir.loc/54687/sfdsfsdfsdfsdfsdf/</str>
<arr name=”punchline_value_str”>
<str>Punchline value1</str>
</arr>
<arr name=”spell”>
<str>Test Title1</str>
<str/>
<str>News</str>
</arr>
<str name=”title”>Test Title1</str>
<str name=”type”>post</str>
</doc>
</result>
</responseBut, when i tried to find by this value, it’s give “no result”
When i am searching by title – this is work. Do i need to add something to schema.xml?Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldThank you
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldI cannot update to the last version now.
Can told what i need to change in the code to fix it?Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldThe version of the my plugin is
Version 2.9Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldYes it is.
I can get the value by this
get_post_meta($post->ID, ‘punchline_value’, true)
in the codeForum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldI have done like you said.
When i have update the value of the field, Solr Operations page show that one post need to be indexed. I have indexed it. But this “?fq=punchline_value_str:*” give that
<response>
<result name=”response” numFound=”0″ start=”0″/>
</response>Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldSorry
<response>
<result name=”response” numFound=”0″ start=”0″/>
</response>Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta field<response>
<lst name=”error”>
<str name=”msg”>
org.apache.solr.search.SyntaxError: Cannot parse ‘select?fq=punchline_value_str:*’: Encountered ” “:” “: “” at line 1, column 29. Was expecting one of: <EOF> <AND> … <OR> … <NOT> … “+” … “-” … <BAREOPER> … “(” … “*” … “^” … <QUOTED> … <TERM> … <FUZZY_SLOP> … <PREFIXTERM> … <WILDTERM> … <REGEXPTERM> … “[” … “{” … <LPARAMS> … <NUMBER> …
</str>
<int name=”code”>400</int>
</lst>
<str name=”params”>fq=select?fq%3Dpunchline_value_str:*</str>
</response>Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta field<response>
<lst name=”error”>
<str name=”msg”>undefined field punchline_value</str>
<int name=”code”>400</int>
</lst>
<str name=”params”>fq=punchline_value:*</str>
</response>Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldI am using gotosolr service. And it ask me for password and user name
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldNo. It’s empty
https://www.avenir-suisse.ch/select?fq=punchline_value:*Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Dosen't search by meta fieldYes, i have done all this steps
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Search by author of the postsorry. Everything is working.
Thank youForum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Search by author of the postI have done like write. But don’t work.
I am trying to find “Heimatschutz für Nüsslisalat” author.
But i don’t see it in the results