Hello,
How can one search for a document based on the query which has numbers
in the query srting.
e.g. query = Java 2 Platform J2EE
What do I need to do so that the numbers do not get neglected.
I am using StandardAnalyzer to index the pages and using StopAnalyzer to
search the documents.
Hello All,
What should my query look like if I want to search all or any of the
following key words.
Sun Linux Red Hat Advance Server
replies are much appreciated.
-H
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Another question for the day:
How to make sure that the results shown are the only one containing the
keywords specified?
e.g.
the result for the query Red AND HAT AND Linux
should result in documents which has all the three key words and not
show documents that only has one or two keywords?
idea what is happeneing and how can I fix it.
Thanks.
-H
Erik Hatcher wrote:
On Jan 10, 2005, at 7:06 PM, Hetan Shah wrote:
Got the latest Ant and got the demo to work. I am however not sure
which part in the whole source code is the indexing for different file
types is done, say for example
.
Appreciate your help. If you have any sample code would certainly
appreciate that also.
-H.
Erik Hatcher wrote:
On Jan 6, 2005, at 6:49 PM, Hetan Shah wrote:
Hi Erik,
I got the source downloaded and unpacked. I am having difficulty in
building and of the modules. Maybe something's wrong with my Ant
tried
looking into the indexing module but was not sure.
TIA,
-H
Erik Hatcher wrote:
On Jan 5, 2005, at 6:31 PM, Hetan Shah wrote:
How can one index simple text files with out the .txt extension. I am
trying to use the IndexFiles and IndexHTML but not to my
satisfaction. In the IndexFiles I do
Hello,
How can one index simple text files with out the .txt extension. I am
trying to use the IndexFiles and IndexHTML but not to my satisfaction.
In the IndexFiles I do not get any control over the content of the file
and in case of IndexHTML the files with out any extension do not get
index
Hello All,
Does any one know how to handle the following parsing error?
thanks for pointers/code snippets.
-H
While trying to parse a HTML file using IndexHTML I get
Parse Aborted: Encountered \ at line 8, column 1162.
Was expecting one of:
ArgName ...
= ...
TagEnd ...
/ for more information is that
the correct place to look?
Thanks,
-H
Erik Hatcher wrote:
Sure... clean up your HTML and it'll parse fine :) Perhaps use JTidy
to clean up the HTML. Or switch to using a more forgiving parser like
NekoHTML.
Erik
On Jan 4, 2005, at 3:59 PM, Hetan Shah wrote
All,
This might be asked earlier please point to the earlier post or any
pointers would be appreciated.
I have bunch of HTML pages which I index using IndexHTML. My dilemma is
when I want to search the pages and then display the results the text
that I use for the results snippet do not get the
. All of your
index segments are merged into the one .cfs file (which is large,
right?). Try searching -- it should work.
Chuck
-Original Message-
From: Hetan Shah [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 11:00 AM
To: Lucene Users List
Subject: Indexing
Hello,
I have been trying to index around 6000 documents using IndexHTML from
1.4.3 and at the end of indexing in my index directory I only have 3 files.
segments
deletable and
_5en.cfs
Can someone tell me what is going on and where are the actual index
files? How can I resolve this issue?
Hello All,
Is it possible to index the documents in incremental fashion. What I
mean by this is, update the document in the index only if it has changed
since last time it was indexed. This can save considerable amount of
time while indexing.
Any pointers are appreciated.
-H
Hi guys,
Thanks for the fantastic mailing list. Where all the questions get
answered.
Guys I have upgraded my installation from 1.3.final to 1.4.2 and now
when I try to index the files using IndexHTML the commnad just hangs on
the prompt or would parse some 4 - 5 files and would simply hang.
Does anyone know what does the following error message mean?
TIA.
-H
root cause
java.lang.NullPointerException
at
org.apache.jsp.searchResults_jsp._jspService(searchResults_jsp.java:627)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at
Hi Fred,
Thanks for replying. I see what you mean by creating tags for name and
description. I am not sure about how to hack the methods and where. If
you can point me in right direction that would really be appreciated. I
am thinking about editing the shipped HTMLDocument.java and
Hello,
I am using the IndexHTML class to index around 30,000 files and it is
working fine. Question that I have is, is there a way to add multiple
fields to index so that when the actual search is performed I can
extract the exact match.
E.g.
the fields can be
1) title - abc
2) name - foo inc,
Hello all,
Is there a way to reduce the indexing time taken when the indexer is
indexing about 30,000 + files. It is roughly taking around 6-7 hours to
do this. I am using IndexHTML class to create the index out of HTML files.
Another issue that I see is every once in a while I get the
, 25 Aug 2004, Hetan Shah wrote:
Hello all,
Is there a way to reduce the indexing time taken when the indexer is
indexing about 30,000 + files. It is roughly taking around 6-7 hours to
do this. I am using IndexHTML class to create the index out of HTML files.
Another issue that I see is every once
snippet is highly appreciated.
Thanks.
-H
Erik Hatcher wrote:
On Jul 27, 2004, at 11:42 AM, Hetan Shah wrote:
Works for me.
Here is what I am striving to achieve.
phraseString = request.getParameter(phrase);
if (phraseString.length() 0){
phraseQueryString = \+phraseString+(\);
phraseQuery
Works for me.
Here is what I am striving to achieve.
phraseString = request.getParameter(phrase);
if (phraseString.length() 0){
phraseQueryString = \+phraseString+(\);
phraseQuery = true;
queryString = phraseQueryString;
}
if(phraseQuery){
PhraseQuery pQuery = new
Hello,
Can someone on the mailing list send me a copy of sample code of how to
implement the phrase query for my search. Regular Query is working fine,
but the Phrase Query does not seem to work.
TIA,
-H
-
To unsubscribe,
Guys/Gals,
Does and one have any pointers for this kind of query?
Thanks.
Need some help with creating a query. Here is the scenario:
Field 1:
Field 2:
Field 3:
MultiSelect 1 :
Hey guys,
Need some help with creating a query. Here is the scenario:
Field 1:
Field 2:
Field 3:
MultiSelect 1 :
MultiSelect 2
Is it possible to search against the column in the table ? If so are
there any limitations on the # of columns one should target to search
against?
any other suggestions?
Thanks.
-H
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello All,
I have got all the answers from this fantastic mailing list. I have
another question ;)
What is the best way (Best Practices) to integrate Lucene with live
database, Oracle to be more specific. Any pointers are really very much
appreciated.
thanks guys.
-H
?
Thanks.
-H
Hetan Shah wrote:
David,
Do you know, in the demo code, how do I override or change this value
so that I get to see the appropriate chuck of document? Would this
change make the actual result to show the relevant section of the
document?
Sorry to sound so ignorant, I am very new
I am trying to tie the highlighter sample code with demo3 of the
distribution.
There is one place where I think I am stuck. The code in demo3 has
query = QueryParser.parse(String query, String field, String analyzer);
and the highlighter sample code uses a subclass of query which is
I was wondering if anyone out there had tried the PhraseQuery class and
retrieved the results. I'm new to the whole search solution. I have a
need to do a exact phrase search. Any code sample would be really
appreciated.
Thanks.
-H
PM, Hetan Shah wrote:
I was wondering if anyone out there had tried the PhraseQuery class
and retrieved the results. I'm new to the whole search solution. I
have a need to do a exact phrase search. Any code sample would be
really appreciated.
PhraseQuery query = new PhraseQuery
Hello,
You guys have been great! I read lots of threads and am learning a lot
about Lucene.
Can any one point me to right direction or show me a code sample where I
can build queries for 'any word' 'all words' and 'phrase. I tried to
look on the Lucene FAQ but I did not understand how to go
Hello,
I have been trying to build the index on my windows machine with the
following syntax and getting this message back from Lucene.
*java org.apache.lucene.demo.IndexHTML -create -index {index-dir} ..
*in my case it looks like
java org.apache.lucene.demo.IndexHTML -create -index c:\apache
32 matches
Mail list logo