On Monday 28 May 2007 12:30:38 Anny Bridge wrote:
> Hi,
>
> I use lucene in my project and it works well.
>
> Now I hope that the search result presenting to the user include the times
> of the keyword match in a document.
>
> Is there someone do this before,Or is there any code example for this...
sorry,,i not see it clearly
match in a document.
2007/5/28, James liu <[EMAIL PROTECTED]>:
maybe solr facet fit for u
.http://wiki.apache.org/solr/SolrFacetingOverview
2007/5/28, Anny Bridge <[EMAIL PROTECTED]>:
>
> Hi,
>
> I use lucene in my project and it works well.
>
> Now I hope that
maybe solr facet fit for u.http://wiki.apache.org/solr/SolrFacetingOverview
2007/5/28, Anny Bridge <[EMAIL PROTECTED]>:
Hi,
I use lucene in my project and it works well.
Now I hope that the search result presenting to the user include the times
of the keyword match in a document.
Is there so
Hi John,
20M sounds suspicious. Without seeing the code, it's hard to tell. My guess
is the problem lies elsewhere or some piece of Lucene is being incorrectly
used. Or maybe your Lucene Documents are just very large. Are they? You
could go modify Hits source and change the number of hits
Then I think what you want is something like just assembling a
BooleanQuery like:
(+title:object +title:oriented +title:programming)
(+description:object +description:oriented +description:programming).
Best
Erick
On 5/27/07, Ram Peters <[EMAIL PROTECTED]> wrote:
What I like to do is search ov
Hi,
I use lucene in my project and it works well.
Now I hope that the search result presenting to the user include the times
of the keyword match in a document.
Is there someone do this before,Or is there any code example for this...
Thanks in Advance.
Anny
In a j2ee webapp we have a search object that stores a user's search
preferences (items/page, detail level, etc). it has a search() that
calls a static method getSearcher() that returns a static IndexSearcher
that all these user search objects use.searching with that gives us
a Hits object tha
What I like to do is search over multiple fields. Multiple fields:
title and description. I don't want to concatenate the title and
description field into one and search on that field, because title and
description have different boosting.
When I search over multiple fields for "object oriented
Yes i am checking the query .toSring().The problem is that with query such
as contents:Sense:03404903 (is the number of the sense and that what i want to
find is the "Sense:03404903")is that lucene returns many results that don't
contain Sense:03404903".
I tried also to delete the su
First, if you haven't already, get a copy of Luke and use it to examine
your index and see how your query parsed. The colon's ":" are part
of the Lucene query syntax, so I have no idea what now
contents:Sense:sense parses.
Second, what analyzers were you using both at index and query time?
Standa
>
>
> Greetings,
>
> I would like to add the number of possible hits in my
> queries, for example,
> "found 18 hits out of a possible 245,000 documents". I am
> assuming that
> IndexReader.numDocs() is the best way to get this value.
>
> However, I would like to use a filter as part of the
Greetings,
I would like to add the number of possible hits in my queries, for example,
"found 18 hits out of a possible 245,000 documents". I am assuming that
IndexReader.numDocs() is the best way to get this value.
However, I would like to use a filter as part of the query. What is the
most e
12 matches
Mail list logo