Please, does anyone have a JSPParser class that parses JSPs?
I hacked the HTMLParser class that comes in the Lucene demo and made it parse and
index JSPs. But when i would do a search, the jsp tags
<%pageContext.setAttribute( "req", request );%>
<%@ page import="com.propelnewmedia.tags.Bread
Hi folks,
For some reason the last question posted made me think about
this.
One of the things I like about Lucene is that it is an API and is
very cleanly designed and implemented. However, I can't deny it'd be
nice to have more working application-like stuff easily available for
L
Paul Friedman <[EMAIL PROTECTED]> asks:
> I am a novice developer researching Lucene for use on a web site
> that primarily uses JSPs. How do you index dynamically generated
> web pages with Lucene? Or is it even possible?
> The JSPs themselves don't have searchable data, only methods to get
> t
You'd have to write a crawler that 'browses' your site just like a
person behind a web browser does.
Otis
--- Paul Friedman <[EMAIL PROTECTED]> wrote:
> Hello Lucene Users,
>
> I am a novice developer researching Lucene for use on a web site that
> primarily uses JSPs.
>
> How do you index dy
Hello Lucene Users,
I am a novice developer researching Lucene for use on a web site that
primarily uses JSPs.
How do you index dynamically generated web pages with Lucene?
Or is it even possible?
The JSPs themselves don't have searchable data, only methods to get that
data.
When parsing these
On the developer list someone recently asked if special query characters should be
escapable and I think this problem demonstrates that they should. So if you want to
search for the literals [ and ] in a query like String[] you could escape them with
the possibly a backslash so the query would
Actually, [] denotes an inclusive range of Terms. Anyway, why not change
the syntax if this is bad...?
Scott
> -Original Message-
> From: Brian Goetz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 10:08 AM
> To: Lucene Users List
> Subject: Re: Queryparser croaking on "
This is because the query parser uses [] to denote ranges of numbers.
(I always thought this was a bad choice of syntax for exactly this
reason.)
On Wed, Feb 20, 2002 at 11:14:05AM -, Les Hughes wrote:
> Hi,
>
> I'm currently building a small app that allows searching of Java sourcecode.
>
Try rc4. There was a bug in rc3 that gave NullPointerException
on phrase searches when one or more of the terms wasn't in the
index.
--
Ian.
David Elworthy wrote:
>
> I'm having a problem search on phrases. If I give the query
> books by "Noam Chomsky" about politics
> then I get a null poin
> From: David Elworthy [mailto:[EMAIL PROTECTED]]
> I'm having a problem search on phrases. If I give the query
> books by "Noam Chomsky" about politics
> then I get a null pointer exception at the point where I issue the
> query.
> I'm using lucene 1.2 rc3.
>
> Any ideas?
Upgrade to rc4. Th
I'm having a problem search on phrases. If I give the query
books by "Noam Chomsky" about politics
then I get a null pointer exception at the point where I issue the
query. I put the above string through QueryParser to get the Query, and
the exception happens on the IndexSearcher search call. The
Les
Parse your query string to remove the charactors '[' , ']' etc. which
are deemed illegal by lucene query-semantics.
-Goutam
-Original Message-
From: Les Hughes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 4:44 PM
To: '[EMAIL PROTECTED]'
Subject: Queryparser cro
Hi,
I'm currently building a small app that allows searching of Java sourcecode.
The problem I'm getting is when parsing a query string that contains an
array specifier (ie. String[] or int[][]) the query parser seem to croak
with a
Lexical error at line XX, column XX. Encountered: after : "[]
Hello,
we implemented an algorithm that makes a summary of fields based on terms in query and
some parameter (max length, max fragments).
I hope in 2 days I can send the code (it needs some refactoring, commenting).
peter
> -Original Message-
> From: Sreenivasulu M [mailto:[EMAIL PROT
Hello All,
I am using Lucene in a site to search on HTMLs. Can anyone help me
how to display the summary containing the searched keyword. I think the
summary is predefined in the Document Object while creating index. How can
I dynamically select summary depending on the search keyword? Is
David Elworthy wrote:
>
> When I used toString() on a Query object, I don't get a textual
> representation of the query. Instead I get something like:
> org.apache.lucene.search.BooleanQuery@29
> org.apache.lucene.search.BooleanQuery@14d
> Any ideas what I can do to fix this? BTW, this is wit
16 matches
Mail list logo