I am new to SOLR. I bought the book SOLR in Action, by Trey Grainger and Timothy Potter. I then followed step by step - downloaded SOLR-4.7.0 as instructed in the book, unzipped it. Started SOLR on localhost. Activated collection1. Posted xml files from the examples directory. Now I have a problem:
The book says I should see Query tab on the left side. But I just don't have it. All I have are OVERVIEW, ANALYSIS, DATA IMPORT, DOCUMENTS, FILES, PING. I am completely stuck as i cannot follow the book any more.
Any advice appreciated as I am keen to make progress.
Regards
Gopi
I can confirm that 4.7.2 has a query tab after using the core selector drop down to pick your core. Note that directly after the ping tab is a plugins/stats tab and then the query tab. Perhaps your screen is too small?
Try going to the following link, where YOUR_IP is the ip of your solr server and YOUR_CORE is the name of your solr core (probably examples).
http://YOUR_IP:8983/solr/#/YOUR_CORE/query
I feel quite foolish. But in the interest of not misleading anyone, I would like to report that when I zoomed out my browser, the missing options showed up. Sorry to have wasted the forum's time.
Related
First off I would like to say your product is amazing! Has made the job of inheriting an old DNN instance a much more intuitive experience.
Apologies if this is really simple thing I'm missing but I'm at a dead end after scouring the docs and internet.
I'm using Evoq content and up until the start of the week the publishing workflow had been working fine rich text WISIWIG fields but it seems something has changed. Now when publishing changes any apps that are embedded in rich content fields display the demo item when not logged in.
I've recreated the issue on a smaller scale to illustrate the problem:
When logged in it looks as expected - on the left is a button that's placed directly onto the page, on the right is a button inside a rich text field:
logged in
And when logged out:
logged out
As you can see the button that is embedded as a rich text field is displaying the demo item.
I've gone through all of the content items and ensured that they are set to publish and not draft or hide and ensured the page is set to published in DNN.
Aldo I've double checked how the fields are setup but as this was working previously, I'm doubtful that this is the issue but for clarity here is how the fields look in the model:
Rich text field model
And it's rendered to the page using:
#{
var renderSvc = GetService<IRenderService>();
}
#renderSvc.All(Content, field: "BodyContentBlocks", merge: Content.Body)
I've been scouring the docs and internet for hints of what might be going on but the closest I could find was this thread on github but it doesn't seem to be quite the same issue.
Any help would be massively apricated as this issue has cropped up just before moving to our production server (as they always do!) after working as expected for a couple of months. Let me know if you need any more info from me and thanks for your time.
Evoq has a page-workflow feature which is technically undocumented. 2sxc got a sponsor a few years ago who paid for the implementation but there are limitations to it. Some background:
Some data in 2sxc can be clearly assigned to a module or page - such as content added directly
Other data cannot be assigned to a page - such as a blog post
Because of this, the logic is to first determine if something is partOfPage and if yes - and workflow is active - then it will be set to be a draft. This way the end users don't see it.
Upon page-publish, everything that is partOfPage will be published, so the draft will become the live data.
I assume the detection of this was never implemented for inner content - I think inner-content was actually developed later. Because of this, I assume the toolbars for the inner-content-item tell the UI it's part of the page (resulting in draft), but the publish cycle doesn't know about this, since it's internally a sub-entity (which is just like a tag on a blog - not part of a page).
This is difficult to fix. A proper fix would require 2sxc to be modified to make sure that inner-content is never seen as part-of-page, OR that it's taken into account when publishing. Both of these options would probably take ca. 3 days of dev on 2sxc side and would only happen if we have a sponsor.
A workaround is to disable the Evoq-integration so the page publishing wouldn't happen. I believe there is a feature for this - and AFAIK you don't even have to become a Patron (which I highly recommend to support our thousands of hours of work):
Or you could manually try to publish it, but that will be difficult. Note that most of us will be on x-mas vacation so we won't be answering questions till mid Jan.
Summary of options
Avoid inner content for now
Disable Evoq Page Workflow in 2sxc
Manually publish the items (very difficult, needs super-user permissions because it's an unusual thing to publish)
Get some budget ca. 3 days to sponsor the feature https://2sxc.org/contact but wait till end of January
A mix of short-term solution + sponsoring
Sorry for the delay on this, I've been waiting for a decision. I'm going to close the question as we have been able to work around the issue for now with the help of your last comment. Avoiding inner content is working well enough for our use case. Thanks for your time and help and for making an amazing product!
I've been trying my very best not to ask any nosy question here in stackoverflow, but it has been almost one week since I got stuck in this problem and I couldn't find any solution.
I already have my working website built with CakePHP 3.2. What the website basically does is scrape Twitter for tweets containing a given search term, check if it's already in my database, and store it if it doesn't yet exist. Twitter's JSON response has this "tweet_id" property, and I've been using that value to check for whether I should ignore or append a specific tweet to my DB. While this might be okay while my database is small, I suspect it's going to slow things down considerably when my tables grow bigger. Thus my need for ElasticSearch.
My ElasticSearch server is running on my Arch Linux install, and I've configured my app to point to the said server. Also, I have my "Type" object named the same way as my "Tweets" table (I followed the documentation until the overview part http://book.cakephp.org/3.0/en/elasticsearch.html). This craps out an "Unknown method "alias" error, and following Google searches led me to creating an alternate pagination class since that was what some found to be the cause of the error (https://github.com/lorenzo/audit-stash/issues/4), which still doesn't fix things.
I'm not sure if I got this right. I installed the ElasticSearch plugin with the assumption that all I have to do is name the Types the same name as my tables, since to me the documentation "implies" that this should be done on top of the Blog Tutorial they did to "improve query performance".
TLDR, how is this supposed to work? Is my above assumption right? Do I name the Types differently and index everything myself? I'm not sure if there's just too much automagic, or I'm just poor at these sort of things. And yes, I'm new to frameworks (but not PHP, among other languages)
Thanks in advance!
I want to create an Export of Trac Wiki and import it to COnfluence using UWC tool.
All Trac Wiki Pages and Attachments are stored in Postgres Database.
Can anyone please let me know how can i create Trac Export which can be readable by UWC. I am confused about TracEnviorment where can i find this?
Thank You,
Akash
Last thing first: If you don't know about a Trac Environment, you'll hardly be fit for the task you're aiming at right now. Start reading a bit about Trac, that is largely self-documenting, could help. No matter from where, be it the 'TracEnvironment' page in your own Trac wiki or the authoritative resource.
OTOH I'm not familiar at all with UWC, but a bit of research revealed, that Trac wiki is supported by a user-contributed module in UWC. So I guess that its documentation page is the natural place to start from. From what I've read so far the export/import is file-based and in line with recommendations under Exporter on that same page.
First, read https://migrations.atlassian.net/wiki/display/UWC/UWC+Trac+Notes.
Second, for attachments, you may need to use this as a reference http://l33t.peopleperhour.com/blog/2014/07/10/converting-a-trac-wiki-to-confluence/, anyway you will need to adapt it to your actual DBMS behind Trac.
Note that the current UWC - Trac integration is not as polished as someone may expect, so prepare yourself to download UWC source, debug it and patch it.
My issue is that at my current job, we have to go to 7 different sites, depending on the carrier, to find out a part number through a model number. Each site allows you to search a database with a model number and if it is found it you can see the part number for it. This really helps us out, but I'm looking for a way to make it more convienient for us. Each site requires a login. How can I search all the sites, sites databases at once or how can I make something, webpage or program, that has a tab for each site and when clicked it takes me right to the search feature of the site. Any suggestions are appreciated. I really need to be pointed in the right direction. I almost forgot, if you know a site or program that does this for hvac part or appliances please let me know!
You won't be able to integrate directly with each site most likely, so you're stuck having to login to each and do your work.
But there is some hope!
Check out Selenium (http://docs.seleniumhq.org/) for automating web tasks. For example, you should be able to "record" yourself logging in and clicking to a page - and then in the future you just run a script and Selenium will do it for you. Should save a few steps.
You'd still need a tab open per site, but it should help.
I have recently started working with jMeter. And I was doing database stress testing for that. I have added the required drivers in the lib folder. And my jMeter is connected to database. And it works fine.
But the problem now I am facing is how to interpret those results. I just tested only one SQL which is doing SELECT on one table. Below is the screenshot of my various tabs in JMeter.
This below screenshot shows how many threads (10) I am running and Ramp up time.
This below screenshot shows me JDBC Connection Configuration settings, which I am not able to understand as well. It will be great if anyone can throw some thoughts on this what does it mean corresponding to number of threads I am running in my above picture.
This Below screenshot shows the result in a Summary report which I am again not able to interpret. What's the best way to interpret these results? Any thoughts on this will be of great help.
This Below screenshot shows the result which I am again not able to interpret. What's the best way to interpret these results? I was looking for how much time it is taking to execute that one single Select SQL. And this tab shows me lot of information but not sure how to interpret those. Any thoughts on this will be of great help.
Can anyone help me understanding these results? Thanks for the help.
You should use one of these:
Response Time Graph
Aggregate Graph
Look also at jmeter-plugins project:
http://code.google.com/p/jmeter-plugins/