Sitecore 7 Search tab does not work - sitecore

I've just downloaded and installed Sitecore 7. I added some images to the media library and wanted to test the new "search" tab, but it never returns any results, it just shows the progress loader and nothing else happens. I had a look at the log files and there aren't any errors.
The traditional Sitecore quick search works fine, but this new sitecore7 search feature doesn't work.
Any ideas?

Out of the box for 7.0 the first thing that I do is Rebuild all the Indexes in Sitecore.
Sitecore -> Control Panel -> Indexing -> Indexing Manager -> Rebuild
Have you done this yet?
(This may take a long time depending on the amount of content)

+1 for Andrew Q's answer.
If you come across any issues with the rebuild just hanging and never completing. Here are some things that worked for us.
Stopping the AppPool, deleting the files from Data\indexes\sitecore_master_index, restarting the AppPool and rebuilding the index.
I've seen another case where the indexer was trying to index Video files in the Media Library. This also caused it to hang. The solution there was to exclude the media type from the index in config.
Good luck
Darren

Related

Tailwind__css- live server not working properlly

This is my first time in here so at first I want to say Hello to everyone!
I just start using tailwindcss , I've watch few tutorials on YT and I've done exaclly everything as in video.The issue I got with live server extension, I have to press couple times ctr+s to see changes on my web, same situation with prettier.If anyone had same problem pls write down how to solve it.
I can't get exactly what you are asking for, but i faced a similar problem like this.
When adding tailwind classes to html element and saving the file while live server(vs code) is running, but the browser don't show the changes unless I reload it.
For fixing this issue,
Go to live server extension -> extension settings -> scroll down until you find
Liver Server -> clik on the ⚙️ -> extension settings-> Full Reload -> enable it.
Then restart the live server, there we go you fixed the issue.
It works for me, happy day!!!

Disable lightweight solution load prompt

In VS2017 lightweight solution load is disabled by default and since I don't want it I am happy. BUT there is an annoying prompt which prompts me to enable it when I load a solution with a "Large" number of projects.
Is it possible to disable this prompt, so I do not enable it by accident ?
I have searched Tools -> options and the registry to no avail. Also what is a "large" number of projects I have not been able to find the number. Perhaps if one could raise the number to say 100000 then the prompt would never appear.
The Lightweight Solution prompt is shown three times, per solution, then a setting is stored locally which prevents it being shown again.
From: developercommunity.visualstudio.com: Viktor Veis: 27 Mar 2017:
The lightweight solution message is
shown 3 times per solution. These settings are stored in the suo file,
so deleting the file or the .vs folder next to solution will trigger
another 3 messages.
We're working on improving this experience in a future release.
Beetlejuice! Beetlejuice! Beetlejuice! Sigh
This message do not show again after setting the Lightweight solution load to disabled instead of default.
To do this, select your solution and in the property window (default F4) set the Lightweight load to Disabled
Screenshots here https://learn.microsoft.com/en-us/visualstudio/ide/optimize-visual-studio-startup-time#speed-up-solution-load

In Sitecore 7.1 when I try to open the media library browser to insert an image a popup says the item was deleted

I have a simple template inheriting from Standard Template with an Image field. After creating a new item, when I go to add content and click on the field's toolbar item Open Media Library I get a message telling me The selected item could not be found. and suggesting that another use deleted it.
I am the only user on the installation, and the item is definitely there. I have done a few other Sitecore installs to make sure it's not just a corrupt project, and I've checked the logs to no avail.
I'm using Sitecore 7.1 rev. 130926 (the latest version as of this writing). I've done extensive searching and can't find anybody reporting a similar issue - my guess is it's a simple configuration (botched ID or path?), but I can't seem to locate it by scanning the configs for relevant keywords.
There are other issues with using the Browse editor, but I believe this is related to the missing Media Library item. The File Selector and other reasonably equivalent editors do not fail so I don't think it's a browser configuration. I've tried on Chrome, IE and Firefox and all respond the same way.
Any suggestions on further courses of action would be greatly appreciated!
I was also facing the same error, following are the step i have done to resolve.
1) I upload all my Images in the Media image folder
2) I have publish this folder.
3) Clicked on the Browse Button-> My Images
4) On Right hand side you will find the Tree view Icon above the Search Box
5) Click on it will see the Media Library with Tree consisting of all the Images.
6) Select the Image from that.
7) After this image get displayed in Image box,
8) Now click on Open Media Library Box and it will not give the error.
On your 'simple template' check the standard value for your Image field on your data template. It may be that it is pointing to a path which does not exist in your media library.
Figured it out, but it took an install on a completely separate machine and a comparison of the entire folder/file structure. There are two Sitecore XMLs that get written to the bin folder: Sitecore.Client.XML and Sitecore.Kernel.xml - both contain Sitecore assembly definitions, but the ones on my machine were not being generated properly. Once I copied the files over to my local install everything started working as expected.
So, the short answer is: a corrupted installation.
I frankly have no idea why the files would differ from my machine to another - once this project is finished, I'll have to do some research and report back. I have several Sitecore versions installed, and it could be a conflict between versions or dependencies? If I find anything, I'll make notes here.

Include all files in Eclipse c++ index

I am having some troubles using eclipse to navigate a massive project. The problem I am attempting to facilitate is searching for where functions are defined, where classes are defined, and following other references throughout the code.
I was previously using grep to search everything, and that was no a very good solution as it took about 2 minutes for every search.
Is there a way to add all files to my Eclipse index?
the file 'soc-core.c' is currently not part of the index.
Here's a screenshot to illustrate. I believe I have selected the appropriate options. Thanks so much!
If you have large files in terms of LOC, you may be taken into scalable mode by eclipse where indexing didn't work for me. So. I changed the scalability settings to 50,000 lines. Now indexing is working large files too (<50k)
It sounds like you might be hitting a limit that prevents indexing from finishing. Here are some things to try.
Increase the memory available to eclipse. In your eclipse.ini file, set the -Xms and -Xmx values to bigger numbers. I'm using -Xms512m -Xmx2048m but you may need even bigger.
Increase the "Cache limits" fields at the bottom of the Indexer preference page.
Start eclipse and let it sit for a while. It should show you "C/C++ Indexer: (X%) progress bar in the lower right corner. Give it time to get to 100%.
You might try rebuilding the index. Menu->Project->C/C++ ndex->Rebuild.
In your project settings, you might need to add directories to C/C++ General->Paths and Symbols->Includes
Get a newer version of eclipse-cpp. I had a version a long while back that never seemed to finish indexing--it would get stuck. I'm now using eclipse-cpp-kepler-R and it works great.

Team Build - Get Workspace - get latest from specific paths, NOT everything

I have a simple build definition which I want to use to build just one project, and every time I choose to run this build, I want to get latest from the branch/directories that pertain only to the project in question. How do I do that? The call to "Get Workspace" gets everything from source control, and I do not want to (or need to, for that matter) get latest from everything for various reasons.
I hope I am not asking for much.
Thanks in advance.
Check the workspace mapping in the build definition. The build only gets the items that you have specified over there. If you want to exclude some folders within the path that you are mapping, you can choose to cloak some folders.
You can adjust your ItemsToBuild in Process Tab in Required section