-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running WeBlog with Solr #172
Comments
Hi @kalotra |
Can you specify the nature of the conflict? As @alan-null mentioned, the OOTB content search configuration for WeBlog is based on the Lucene content search configuration. If you've swapped your solution over to use SOLR then you'll need to adjust the WeBlog content search configuration to use SOLR as well. This shouldn't be too hard as the config is pretty basic, leveraging the default provider config for most things. |
Hello. "The request for security token could not be satisfied because authentication failed." The configuration is same across servers accept the fact that PROD CD is running over https://. I can access http://[authoring server address]/sitecore modules/web/WeBlog/Comment.svc from PROD CD server. However, submitting comments from the CD node returns above error. I have advised the network team to double check access between servers. Meanwhile, I'd appreciate any idea/suggestions from your side. |
The above issue is unrelated to SOLR, so please open a new issue for it. I'll leave this current issue open until we add a SOLR specific config file. |
If anyone wants SOLR configuration I did it and indexing worked for me. Shared the changed configuration, please download the attached file and remove .TXT extension |
Hi Pavan, |
Please find below the config files converted to Solr search, I really need to fix this issue, please help me. |
Anyone fixed this issue ? |
I did debug this issue a while ago , looks like the Solr query being sent by weblog code has issue, so it is not working even configs are right. So waiting for code fix. |
Yes, you are right. I also debugged it and got the same issue, so I copied the code of weblog and updated all of its queries into my solution. |
SMRaxa, that's awesome. Can you please share the weblog code that you changed. You can email it to me at pavanomtri@yahoo.com |
I had change config, and solr can work in admin site. @SMRaxa Can you share it here or send to my mail hptbee@gmail.com ? Thanks you very much. |
I copied the GetBlogEnteries method from WeBlog solution and added it into my solution and updated it as below. I created my own controller/action which calls this method to fetch blog entries and then render the view. `public IEnumerable GetBlogEntries(string tag, string category, int maxNumber = MaxPosts, DateTime? minimumDate = null, DateTime? maximumDate = null)
|
We need to change the Solr core names to remove capital casing i.e. use 'weblog-master' instead of 'WeBlog-master'. That eliminated the need to rewrite any code. Please update the core names in the necessary weblog config files. |
To fix the category issue, you need to add the following fieldmap into WeBlog.ContentSearch.config
|
After switching 'weblog-web' instead of 'WeBlog-web' I am now getting the error Index WeBlog-web was not found. I cannot find where this is trying to call WeBlog-web. Any Ideas where to search or anyone else having this problem |
Please update the index name in WeBlog.ContentSearch.Web.config. |
Yes I had already done that see below |
In WeBlog.config and WeBlog.delivery.config, there is a setting name
"WeBlog.SearchIndexName". You need to update the value to "weblog" (lower
case)
…On Thu, Jul 6, 2017 at 5:28 AM, teggis ***@***.***> wrote:
Yes I had already done that see below
id="weblog-web" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex,
Sitecore.ContentSearch.SolrProvider"
I just cant find where it is calling the index by the capital case.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#172 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARx5CjIpBX7EXDx9XsIkef66OGbTfcn3ks5sK-PDgaJpZM4IwYhP>
.
|
Thank you varitw that fixed the issue. |
Is anyone have the issue with the tag cloud not returning posts when there is a multiple word tag? It works in Lucene just fine but with Solr it does not work. Example is: "working today". With Solr click on "working today" returns nothing but Lucene brings backs post's with this tag. In Solr if you search by one or the other word's "working" or "today" it returns posts. Any help will be appreciated. |
Hi all I get 'Could not find add method: IncludeTemplate (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)' error after replacing WeBlog.ContentSearch.config with the file provided by @PavanOS. Any recommendation? |
Hi, Andy |
Thank you, Andy (@andyram2k ) |
I have updated our 9.2 code base to all these changes (incl. commit #172), and now after rebuilding the indexes loading my page I get the following exception:
And here a cut from the actual index: "category_sm":["{8AE09F4E-40CA-4AC3-BC17-51DF337CBB6C}|{EABEB6B2-41B3-4707-B156-64994831249C}"] Does this look right? |
Hi @djanjicek, |
Yes exactly, it’s the branch you mention. I’ll follow the progress on it,
as our client uses categories heavily and we need this one.
…On Sun, 8 Dec 2019 at 13:04, Alistair Deneys ***@***.***> wrote:
Hi @djanjicek <https://github.com/djanjicek>,
This is what I'm working on now. Trying to get the category field to index
and deserialize properly.
I'm not sure which commit you took as your link is to this issue, but I
imagine it was one from the feature/172-solr-support branch. We use
gitflow, so any feature branch is a work-in-progress.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#172?email_source=notifications&email_token=AA3WPDCAK6MYZLOSUFMHXZLQXTPDFA5CNFSM4CGBRBH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGG4V7A#issuecomment-562940668>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3WPDEN5LOD7OJJITSHMOTQXTPDFANCNFSM4CGBRBHQ>
.
|
@adeneys Any progress so far? |
@djanjicek I've made a bit of progress and fixed the category issues, but I'm still validating. |
@adeneys Thank you very much! This seems to work. |
Release 4.0 adds support for Solr when using Sitecore 9.x. |
Hello.
Is it possible to run weblog with Solr? We're running Sitecore 8.1 Update 1 and using Solr and WeBlog conflicts with it. Any thoughts around this would be very helpful.
The text was updated successfully, but these errors were encountered: