JavaHelp search problem
Hi guys.
I am new at JavaHelp 2.0 and i am troubling with JavaHelp search engine.
I use javax.help.SearchView as viewer and com.sun.java.help.search.DefaultSearchEngine as search engine.
I indexed Turkish html files for my system.
My problem is : When I query a word containig capital I (for example "BITS" ) , it doesn't bring me the correct results. Actually it doesn't bring me any thing
Whereas , the other capital letters does not make problem and correct results come out.
In addition, when I query the words containing capital "I" with "jhsearch" appliaction , all the words containig capital "I" is queried correctly.
I dont understand the issue .
Please help me.
I don�t know, whether you solved the problem or not.
But have you tried to create the search-database with the jhindexer-tool?
Similar Messages
-
Need an alternate Javahelp search engine
Hi Friends,
I have been facing this problem with Javahelp for a few months now. I have created a Javahelp system for my application and it works absolutely fine. However, I am not happy with the way the search works. As the Javahelp search engine uses relaxation ranking and morphing, it returns strings other then what is needed.
For example: if i give a search for "Workflow Modelling" it returns "modelling" or "workflow" or "a weird string that has workflow and modelling separated by even 20 words". I want my search engine to provide exactly the word i have searched for.
Please provide me a new search engine and the way i can change the default Javahelp search engine. It is a very urgent requirement. Would be extremely glad if any one of you could provide me a very quick solution.
Thanks.Dear Rudegar,
Thank you for prompt reply, and I apologize for not asking a technically correct question.
I am currently streaming music through the Internet using Safari.
I want to steam another recording (at the same time), and was told I need to access another browser in order to perform this function.
Judging by your reply, I think the answer is "Maybe - but I need to check out https://extensions.apple.com" to see if this is feasible.
Did I ask the question more clearly? Did I understand your response?
Thanks, -
Outlook 2010, Exchange 2010 - Searching Problems
Anyone out there able to help with some searching problems some of our users have been seeing?
Searching in OWA works fine but some people have problems when searching for older emails in Outlook. We've rebuilt Outlook profiles, rebuilt the windows index's (which seems to work but only temporarily). If there's a way to schedule the Windows index to
rebuild every night or once week, I'd be very happy to test that out but haven't been able to figure out how to do that.
Anyone have any other ideas?Hi,
It seems something keeps corrupting the index... Run Anti-virus program and Malicious Software Removal Tool to scan your system, check if there's any virus or malware that may cause the index issue.
If this issue persists, please also go to File tab ->
Options -> Search -> Indexing Options
-> Advanced -> Click Troubleshoot search and indexing, to do some troubleshooting steps to find the possible cause.
I hope this helps.
Regards,
Melon Chen
TechNet Community Support -
HELP!!!! JavaHelp Search "hangs"
Hey everyone,
I have a JavaHelp 2.0 project that I've built with
j2sdk1.4.2_04 and jdk1.5.0_06 using RH X5. For the last major build
(a few weeks ago) in which the JavaHelp was build using 1.4.2_04,
the search worked fine. Now, the search "hangs" after you type in a
query. Same thing happens when I switch my registry to point to
jdk1.5.0_06 (which is what the author is going to change over to
soon.
Any ideas how to fix this or what could be the problem? This
is my third Java related / RoboHelp problem I've encountered in the
past 3 days with RoboHelp (the other involved a problem with a Java
plug-in's inability to display the TOC correctly in a WebHelp
output in a different project)
Thanks,
JimHey everyone,
I have a JavaHelp 2.0 project that I've built with
j2sdk1.4.2_04 and jdk1.5.0_06 using RH X5. For the last major build
(a few weeks ago) in which the JavaHelp was build using 1.4.2_04,
the search worked fine. Now, the search "hangs" after you type in a
query. Same thing happens when I switch my registry to point to
jdk1.5.0_06 (which is what the author is going to change over to
soon.
Any ideas how to fix this or what could be the problem? This
is my third Java related / RoboHelp problem I've encountered in the
past 3 days with RoboHelp (the other involved a problem with a Java
plug-in's inability to display the TOC correctly in a WebHelp
output in a different project)
Thanks,
Jim -
Javahelp Search -- Failed to create URL from jar
When I attempt to use my search feature, I get the following message:
Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-generatedid-55.html
Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-odbc-tutorial-s-5132529.html
Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulsynchronize-library-sesql.htmlpresumably, the files that were found in the search were:
cp-ulc-generatedid-55.html
cp-ulc-odbc-tutorial-s-5132529.html
cp-ulsynchronize-library-sesql.html
but it seems the URL being built is incorrect. I am building my search like so:
in the xml:
<view>
<name>Search</name>
<label>Search</label>
<type>javax.help.SearchView</type>
<data engine="com.sun.java.help.search.DefaultSearchEngine">
JavaHelpSearch
</data>
</view>
and in the java:
_jhIndexer = new com.sun.java.help.search.Indexer();
//outDir is the directory the help is compiled to -- defined earlier
String searchName = "JavaHelpSearch";
String args[] = new String[ 3 ];
args[ 0 ] = "-db";
args[ 1 ] = outDir + searchName;
args[ 2 ] = outDir;
try {
_jhIndexer.compile( args );
} catch( Exception e ) {
e.printStackTrace();
//addDirectory copies everything from ourDir/searchName to jar/searchName
jarFile.addDirectory( searchName, outDir + searchName, null );Any ideas how to fix this?
Thanks,
AarnottYesterday I met with the same problem with you, and I read the Javahelp_Guide for several times and today I solve the problem. I reply the topic and want to share the experience with friends.
First cofirm that you have created the html pages, .hs file, index file, TOC file, map file, and be sure they all work well. We assume you put the last 4 files in D:\HelpFile, and the html pages in D:\HelpFile\HelpPage
Now we come to the second step -- generate the Full-Text Search Database.
1. Open "Start" -> "Run" in windows, and input "cmd" command.
2. Switch to your help folder, here we assume it as D:\HelpFile
3. Find the path of the jhindexer in the javahelp\bin folder of the JavaHelp system release, e.g E:\JavaHelp\bin
4. Input the following command in cmd.exe you just open in step 1:
E:\JavaHelp\bin\jhindexer HelpPage
the command means to call the tool jhindexer to generate the Full-Text Search database for the html pages in folder HelpPage
5. you'll find a new folder named JavaHelpSearch generated in the current folder D:\HelpFile
6. Pack all the files in folder D:\HelpFile as a jar file and you can use it in your system
Note: 1. avoid asian character in your folder path, though there's no obvious reason but we should avoid possible error.
2. Full-Text Search need no programming in your program, just do it as the steps ibid.
release: Javahelp 2.0.05
Operation System: Windows XP -
I am experiencing a problem with search function in JavaHelp. The following exception happened when typing in a word to search and hit enter:
Exception occurred during event dispatching:
java.lang.Error: InvocationTargetException while creating engine named com.sun.java.help.search.DefaultSearchEngine for view: javax.help.SearchView@74db2c
at javax.help.JHelpSearchNavigator.makeEngine(JHelpSearchNavigator.java:164)
at javax.help.JHelpSearchNavigator.access$0(JHelpSearchNavigator.java:115)
at javax.help.JHelpSearchNavigator$MergingSearchEngine.<init>(JHelpSearchNavigator.java:270)
at javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.java:108)
at javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.actionPerformed(BasicSearchNavigatorUI.java:96)
at javax.swing.JTextField.fireActionPerformed(Unknown Source)
at javax.swing.JTextField.postActionEvent(Unknown Source)
at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
Anyone out there has any idea about this? Please help me.I don�t know, whether you solved the problem or not.
But have you tried to create the search-database with the jhindexer-tool? -
How can javahelp search with Thai word ?
I write java App and use javahelp. I found problem in javahelp can not search in Thai word. Anybody help me please.
Thai word is Thai Language or Thai Font, sir.
-
Javahelp search: get results but can't find the pages
Hi!
when using the javahelp full text search, i get the correct results displayed on the left, but on the right the corresponding pages are not shown. the page which was displayed before stays in the window and the places where the searched words should be are highlighted.
So i think the javahelpsearch database is found (in "${helpdocs}/JavaHelpSearch") but the directory with the html files not. I'm using this to make the database:
<java classname="com.sun.java.help.search.Indexer">
<arg line="./html -db ${helpdocs}/JavaHelpSearch"/>
<classpath>
<pathelement location="${project.home}/project_gui/lib/jhall.jar"/>
</classpath>
</java>
But i don't have an idea what kind of parameters i could change to make it work.
Maybe someone can help me?
Thanks a lot!Did you figure out your problem?
I have the same problem, but it only shows up when I use a directory structure for multiple locales. My post is "Full-text search not working with multiple locales" on December 2nd.
bob.jaster -
List View Web Part Search problem
We have a problem with the search in the
List View Web Part (SearchBox).
If you enter anything in SearchBox
and the beginning of the search, nothing happens.
This problem only occurs in non-admins.
In this case, the browser generates an error:
"inplview" not defined.I have the same problem. I think the problem is related to the Publish feature.
Any ideas? -
RoboHelp 10 fails to build JavaHelp Search
When I generate JavaHelp with RoboHelp 10 I have the error below in the console:
java.io.FileNotFoundException: myProject_JavaHelpSearch\POSITIONS (...)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.java.help.search.DocumentLists.<init>(DocumentLists.java:161)
at com.sun.java.help.search.DocumentLists.invert(DocumentLists.java:243)
at com.sun.java.help.search.DefaultIndexBuilder.close(DefaultIndexBuilder.java:103)
at com.sun.java.help.search.Indexer.compile(Indexer.java:228)
at com.sun.java.help.search.Indexer.main(Indexer.java:76)
In the working directoty used for JavaHelp, the "myProject_JavaHelpSearch" sub-directory contains:
DOCS
OFFSETS
TMAP
The error is not fatal and RoboHelp do generate the JavaHelp file. The JavaHelps displays TOC, Index, and the project pages as expected, but when I try using the "Search" tab in the generated JavaHelp, it does not work.
If I generate a Microsoft HTML Help or WebHelp, the "Search" tab works fine.
My project is a former RoboHelp 9.1 project converted to RoboHelp 10. It was working fine on Windows XP Pro Us (32 bits) + RH 9.1, I'm running now RH 10 on Windows 8 Pro French 64 bits.
Thanks in advance for any help.There is nothing there about Rh10 and it is not a topic I will be updating. Sorry but JavaHelp is not a popular output. Flare does not even offer it for reasons stated in the page on my site.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Google search problem in safari
I went to do a google search and used the window in Safari. When I hit go, I get results but they look strange. Only the search term and then most of it is blank. It's as if the page is so big that I can't see the rest. When I go to the bottom of the page it says Mobile, but nothing else. When I tap beside it, it went to a "classic" view as if on the desktop of your computer, but then I could not see what I was typing in the search box. It was invisible. No problem with Bing or Yahoo.
I also have noticed on a page that I normally check that the login button was not there. I could click where the login button usually is and then it will take me to the page, but what I type is also invisible.
I have an iPhone 4s 5.1.1. No problems on my husbands iPhone 4s.
Will try to restore.
Has this happened to anyone?Restore has fixed it.
-
How to fix the search problem due to timezone?
I live in GMT+8 timzone. I just migrated a site from SP2010 to SP2013. After migrated when I search for a managed property (datetime) all results return is 1 day later.
To troubleshoot the problem, I setup a new managed property using "Text" datatype. In refinement panel for that managed property I found the refinement are all looks like 2013/12/11 16:00:00. (which should be 2013/12/12 00:00:00)
The old server is running in GMT+8. The only different is SP2010 and SP2013.I have changed the web application -> general settings -> timezone to GMT+8 and the site collection settings as well. We did not enable "My site" so there
is no personal regional settings. What else I can check? What should I check and how can I make the search work as expected?Once a document is stored and uploaded it has the UTC time stamp on it. Now this timestamp cannot be changed.
So you either use timezone when the document was uploaded or use it the same way.
BTW what difference does it make with the time it shows?
The field in question is designed to store a "Date" value only not the "Time". The time is always 00:00:00.
In the old farm, users search for 2013/12/31 will get the results with field value 2013/12/31. Now in the new farm, with the timezone problem, search for 2013/12/31 will get the results with field value 2014/1/1 -
Search problem with ActiveDirectory - please help
Hi,
I've tried to get a list of the users out of the Active Directory.
But I just can't get my code to work. It returns nothing back.
The problem should be simple. But I can not figure out why.
Please help!
Raymond
import javax.naming.*;
import javax.naming.event.*;
import javax.naming.directory.*;
import javax.naming.ldap.*;
import java.util.Hashtable;
import java.util.Vector;
import java.util.Enumeration;
public class AdClient {
public AdClient() {
getUsers();
public static void main(String args[]) {
Client client = new Client();
private void getUsers() {
// domain = utest
String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
String HOST = "ldap://192.168.128.50:389";
String SEARCHBASE = "ou=Users,dc=utest,dc=com";
String FILTER = "cn=*";
try {
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
env.put(Context.PROVIDER_URL, HOST);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
env.put(Context.SECURITY_CREDENTIALS,"admin");
DirContext ctx = new InitialDirContext(env);
SearchControls constraints = new SearchControls();
constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
NamingEnumeration results;
// now search for the users
results = ctx.search(SEARCHBASE, FILTER, constraints);
while (results.hasMoreElements()) {
SearchResult sr = (SearchResult)results.nextElement();
System.out.println(sr.getName());
ctx.close();
} catch(Exception e) {
e.printStackTrace();
}I tried your code...
There were two issues I saw, when I changed them it worked!
1) public static void main(String args[]) {
Client client = new Client();
should be
public static void main(String args[]) {
AdClient client = new AdClient();
2) String SEARCHBASE = "ou=Users,dc=utest,dc=com";
env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
Should be
String SEARCHBASE = "ou=Users,dc=utest,dc=newcom,dc=com";
env.put(Context.SECURITY_PRINCIPAL, "[email protected]"); -
RoboHelp HTML 8 Search problem
I have a single (non-merged) RoboHelp 8 HTML project in which I cannot seem to get Search working correctly.
I expected to see a box into which I can type a search term and a blank pane below the Contents/Index/Search/Glossary bar where search results would appear. Instead, I get the following when I generate WebHelp:
This problem appears in IE 6, IE 7, Firefox 3.0, and Firefox 3.5, all of which our customer base uses. I'm using RoboHelp 8 on a Windows PC with XP Pro 2002, SP3.
In the Project Settings/General dialog, I have the default settings for the Stop List and the Always Ignore List selected. For "Add new keywords to" I have "Index File (HHK)" selected, and "Binary Index" is selected.
When generating WebHelp, I have the following set:
General selections: Under "Additional Options," "Apply to all Topics," "CSS" is selected, with the correct CSS name displayed. "Add Mark of the Web" is selected.
Navigation selections: For Toolbar Buttons, Contents, Index, Search, Glossary are selected. For Search Options, "Enable Highlight Search Results" is selected.
Navigation Pane Preferred Format selection is Pure HTML. (We tried DHTML/HTML but that resulted in an empty nav pane and a nonfunctional index.)
Optimize Speed For: Web Site (Internet)
Publish: Republish All.
What are we doing wrong? I'm totally stumped and I can't seem to find any help on this issue anywhere. Thanks!Hi there
Please do expound.
MSMoore9412 wrote:
I finally succeeded in getting a Search pane that looked right and performed correctly by deselecting the Mark of the Web option.
To my knowledge this option only affects the output when you view things locally, as in when you are testing the output immediately after generating. Are you saying here that it somehow affected things after you uploaded the files to the server?
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
I have Numbers 08, OX, the search works some of the time but will suddenly quit. The other day I was searching books by a certain author, to compare to a list of her books, trying to figure out which ones I had not read. (yes, I keep a log of the books I have read). For instance, I had searched & found a book, then searched for another, no find. Yet, when I looked at the one before, I see the one I searched for a few lines below. I tried other searches that should have landed on books but nothing happened. I quit Numbers & then checked it again, nada. It is working today...did it just need a reboot of Mac? I really can't imagine software that requires that. Oh yes, there were about 30 books that I searched.
Thanks for your help in solving my problem in Numbers.I have Numbers 08, OX, the search works some of the time but will suddenly quit. The other day I was searching books by a certain author, to compare to a list of her books, trying to figure out which ones I had not read. (yes, I keep a log of the books I have read). For instance, I had searched & found a book, then searched for another, no find. Yet, when I looked at the one before, I see the one I searched for a few lines below. I tried other searches that should have landed on books but nothing happened. I quit Numbers & then checked it again, nada. It is working today...did it just need a reboot of Mac? I really can't imagine software that requires that. Oh yes, there were about 30 books that I searched.
Thanks for your help in solving my problem in Numbers.
Maybe you are looking for
-
How do I delete an old apple id that continues to pop up on my iPad?
My iPad 2 defaults to an old apple id - I don't remember the password for that id ....I do have a new email id and password however but can't insert it into the text boxes because of this darn pop up that asks me to enter my old id password (which i
-
Hi, I have an older version of imovie and I need to record a short audition directly from my built in camera in imovie and edit it and then send it because my flipshare camera software isn't responding to mailing at all. Do I need the new imovie ver
-
Hi, We are currently using TAXINJ procedure. We would like to switch over to TAXINN. Is it possible to view all the old pricing procedures with the same value after migrating into TAXINN. Pls.share your experience. Thanks Regards Rifaie.M
-
The itunes library file cannot be saved. you do not have eno
I get this message what does it mean? "the itunes library file cannot be saved. you do not have enough access privileges for this operation"
-
TS1702 Photo delete button doesn't work
When selecting photos to delete the red delete buttons ineffective