Configuration in Standalone

2002-11-15 Thread Uma Maheswar
Hello, I am trying to do search forStandalone. I made it up to configuration level. All is working well. But when I try to search in http://localhost:8080/luceneweb/index.jsp, I get Welcome to the Lucene Template application. (This is the header) ERROR opening the Index - contact

RE: Configuration in Standalone

2002-11-15 Thread Spence Nichols
The index location specified in the configuration file must be the same as that specified for the -index parameter when running IndexHTML . Use an absolute path for both to make sure its looking at the same location. Looks like you may need to restart Tomcat to see your new configuration.jsp

Re: Configuration in Standalone

2002-11-15 Thread Uma Maheswar
Ok, I got it to work. I can now see a list of search results. But when I click on the links in those search results, I get that the file is not found. It has this URL http://localhost:8080/webapps/tomcat-docs/catalina/docs/api/org/apache/catal ina/deploy/Test.html I dont even see

Re: Searching with Multiple Queries

2002-11-15 Thread Otis Gospodnetic
I say: try it :) Otis --- Aaron Galea [EMAIL PROTECTED] wrote: I am not sure but I was going to do it by using a QueryParser and creating a filter that iterates over the documents. For each document I check the directory field and use the String.startsWith() function to make it kinda work

RE: Searching with Multiple Queries

2002-11-15 Thread Rob Outar
I thought this was my problem :-), anyhow can I just write an analyzer that does not tokenize the search string and use it with QueryPaser? Thanks, Rob -Original Message- From: Aaron Galea [mailto:agale;nextgen.net.mt] Sent: Friday, November 15, 2002 9:44 AM To: Lucene Users List

Re: Searching with Multiple Queries

2002-11-15 Thread Aaron Galea
Hi Rob Here is how I think in my case I will do it but the code is not tested so it might not work: 1. Create a filter class class SearcherFilter extends Filter { protected String Directory; public SearcherFilter(String dir) { Directory = dir; } public BitSet

Re: Searching with Multiple Queries

2002-11-15 Thread Aaron Galea
Rob I was reading again the mail and I think I didn't reply exactly to your question. In the code sent you can remove completely the StandardTokenizer() or else modify the code from JGuru itself. However I can't really tell you myself the effect this will have on your searches or indexing. Perhaps

RE: Searching with Multiple Queries

2002-11-15 Thread Rob Outar
I did this and it works now I need you guys, the experts :-) to let me know if I am doing something terribly wrong: Analyzer: public TokenStream tokenStream(String field, final Reader reader) { // do not tokenize any field return new CharTokenizer(reader) {

Re: Not getting any results from query

2002-11-15 Thread Ype Kingma
On Friday 15 November 2002 14:40, Rob Outar wrote: That is exactly what is happening, I was using the QueryParser class because I wanted to do stuff like this: field1 = value and field2 = value2 or field2 = value3 But from what you are telling me I cannot use the Query Parser class because

Re: extracting top k frequently occuring terms from a given set of documents

2002-11-15 Thread Otis Gospodnetic
Yes, I was going to post it. I kept a copy, of course :) So I'll stick it in CVS somewhere soon. Otis --- Doug Cutting [EMAIL PROTECTED] wrote: There was a class in the test directory that efficiently computed this, but I think Otis recently removed it. Perhaps it should be revived and

Re: Let me get started

2002-11-15 Thread Uma Maheswar
Yes, And I got the search working for Standalone but not for my website. As I have no permissions to access the server. Life is critical here. Uma - Original Message - From: Steven J. Owens [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday,