Searching For Java Studio Creator Information
By David Botterill on Mar 14, 2006
The Creator content team has done a great job with the Creator web site (http://developer.sun.com/jscreator). They've been struggling with the daunting task of trying to guess how people think and how they approach the web site to look for information.
Recently a "Search Java Studio Creator" search capability has been added to the Overview tab of the Creator web site to help developers find information. As with many site searches you can get too much information that in the end makes finding what you want more difficult. Hopefully this blog will help.
Does Google Do a Better Job?
I did some testing searching for the term "data provider". Here's the Google advanced search criteria I used. You can see that I specified "developer.sun.com" as the Domain.
The results where 26 hits. Only one of the hits was actually on the Creator part of "developer.sun.com". So the Google search really doesn't do what I want. I really just want to search the Creator part of the "http://developer.sun.com" web site which is really "http://developer.sun.com/jscreator".
Using the Search at "http://developer.sun.com/jscreator"
The search on the Creator site is show below.
This search yields 112 hits and is spread across 5 pages of 10 hits per page. Here's the results page.
I don't know about you, but I hate to page through search results. Also, as you can see, many of the hits are on online help. I would really like to see just articles that are written on data providers. I would also like to view at least 100 hits per page. Before we go any further, notice the phrase at the top of the results.
112 Results found for "data provider, +url:http://developers.sun.com/prodtech/javatools/jscreator/" in the "Developer - Reference" tab
This phrase will be important for us to narrow down our search in the advanced search settings. Next, click on the "Advanced Search" link on the right side bar of the results page.
You should immediately notice that you can change the hits per page by choosing "100" from the "Results per page" drop down list. If you do this and press the "Search" button, you'll see that you get 824 results. What? The results grew by about 700! Now you need to go back and change the text that was put into the "With all the words" entry. You'll need to make it look like the phrase I had you look at above. So basically you need to put a comma after "data provider" and put a "+" before the "url:". Now hitting search will yield the same 110 results with 100 showing per page.
Ok, so now you should be asking, "Why did the 10 results per page return 112 but the 100 results per page returns 110?". The answer is, "I don't know!". I think this must be a defect in the results display. The actual result number is 110.
Next, we want to get rid of the "Online help" entries. To do this, enter ",-url:http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help" at the end of the "With all the words" entry. You can get the information about site areas to exclude by looking at the URLs in green. Of course these URLs will likely change from time to time. Here's what we get.
As you can see, we've narrowed the search down from 110 to 23. This is a much easier number of results to work with. Now I can see that there is an article called, " Data Provider Components in the Sun Java Studio Creator 2 IDE".
Lastly, you can always tweak the URL that is used to do the search. If you look at the search URL for what we just produced, you'll see the following.
&col=developer-referenceI've done the line breaks to show the different "GET" parameters. You'll recognize the "&nh=100" is the number of results per page. The "&qt" is the query text. So conceivably you could bookmark this URL and simply change the "data+provider" to the phrase you want to find. Again remember that the URL semantics could change and this bookmark could break.
I hope that helps you find what you need for using Creator. If you don't find what you're looking for, please, please email CreatorSiteFeedback@sun.com for web site feedback and CreatorDocsFeedback@Sun.Com for tutorials you need or documentation you're looking for.