Hi David:
Can you further explain which calls specically would solve my problem?
Thanks
-John
On Mon, 21 Feb 2005 12:20:15 -0800, David Spencer
[EMAIL PROTECTED] wrote:
John Wang wrote:
Anyone has any thoughts on this?
Does this help?
John Wang wrote:
Hi David:
Can you further explain which calls specically would solve my problem?
Not in depth but anyway:
Examine the output of Explanation.toHtml() and/or
Explanation.toString(). Does it contain the info you want..if so call
the other Explanation methods and/or dig into the
Anyone has any thoughts on this?
Thanks
-John
On Wed, 16 Feb 2005 14:39:52 -0800, John Wang [EMAIL PROTECTED] wrote:
Hi:
Is there way to find out given a hit from a search, find out which
fields contributed to the hit?
e.g.
If my search for:
contents1=brown fox OR
John Wang wrote:
Anyone has any thoughts on this?
Does this help?
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Searchable.html#explain(org.apache.lucene.search.Query,%20int)
Thanks
-John
On Wed, 16 Feb 2005 14:39:52 -0800, John Wang [EMAIL PROTECTED] wrote:
Hi:
Is there way
Hi:
Is there way to find out given a hit from a search, find out which
fields contributed to the hit?
e.g.
If my search for:
contents1=brown fox OR contents2=black bear
can the document founded by this query also have information on
whether it was found via contents1 or contents2 or both.
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
The demo IndexHTML does not store the contents field - it is indexed
using a Reader and thus not stored. You will have to modify the code
to get the complete contents available at search time.
Erik
On Dec 22, 2004, at 5:01 PM, Hetan Shah wrote:
All,
This might be asked earlier please
Paul wrote:
Hi,
how yould you restrict the search results for a certain user? I'm
indexing all the existing data in my application but there are certain
access levels so some users should see more results then an other.
Each lucene document has a field with an internal id and I want to
restrict on
Paul,
On Friday 03 December 2004 23:31, you wrote:
Hi,
how yould you restrict the search results for a certain user? I'm
One way to restrict results is by using a Filter.
indexing all the existing data in my application but there are certain
access levels so some users should see more
The thing with the different indexes sound too complecated because the
users (and their rights) as well as the index itself change quite
often.
One way to restrict results is by using a Filter.
but a filter is applied after the whole search is performed, isn't it?
I thought it might be faster
On Dec 4, 2004, at 6:44 AM, Paul wrote:
One way to restrict results is by using a Filter.
but a filter is applied after the whole search is performed, isn't it?
Incorrect. A filter is applied *before* the search truly occurs - in
other words it reduces the search space.
Here is a code example
On Saturday 04 December 2004 15:44, Erik Hatcher wrote:
On Dec 4, 2004, at 6:44 AM, Paul wrote:
One way to restrict results is by using a Filter.
but a filter is applied after the whole search is performed, isn't it?
Incorrect. A filter is applied *before* the search truly occurs - in
Hi,
how yould you restrict the search results for a certain user? I'm
indexing all the existing data in my application but there are certain
access levels so some users should see more results then an other.
Each lucene document has a field with an internal id and I want to
restrict on that basis.
This is entirely application-specific. As the simplest approach, you
can index each user's documents in a separate index and use
(Parallel)MultiSearcher to search appropriate indices (which ones are
appropriate to search has to be a part of your app's access control
logic).
Otis
--- Paul
I found this interesting:
http://www.guuui.com/posting.php?id=1585
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It is quite interesting, Erik, thanks for the link. I'm sure you're
aware of the post-search clustering addon to Nutch that is based on the
project I'm heading -- Carrot2. If you have any ideas of how this could
be made better, I'm always open to suggestions.
Regards,
Dawid
Hello everyone,
I'm trying to use Lucene in a webproject to search for products. The problem is that I
have to display the search results grouped by category. There are about 500.000
products and every product belongs to a category. There are 150 categories. Now for
every search I would like
FYI,
How can I get the search results in Ascending order... (Sort API)
Thanks,
Natarajan.
Look at SortField
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/SortField
.html
-Original Message-
From: Natarajan.T [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 11:35 AM
To: 'Lucene Users List'
Subject: Sort Search Result
FYI,
How can I get
in the
document and so it does not show up in the text below the link. What
can I do so that in all cases the text below the link always has the
piece of the document where the keyword is found?
thanks in advance.
-H
Hetan Shah wrote:
What I am trying to figure out is. In my search result
Hetan Shah wrote:
My search results are only displaying the top portion of the indexed
documents. It does match the query in the later part of the document.
Where should I look to change the code in demo3 of default 1.3 final
distribution. In general if I want to show the block of document that
What I am trying to figure out is. In my search result which is returned
by the
Document doc = hits.doc(i);
text to show = doc.get(summary);
The summary field seems to contain only the first few lines of the
document. How can I make it to contain the piece that matches the query
string
Thanks, Morus, Our real web server, database and the
directory Lucene writes in physically share the same
computer. File system is Win FAT.
For java.io.tmpdir, do you mean I need to explicitly
set it as system environment variable or set it in a
property file?
Thanks again!
--- Morus Walter
Ardor Wei writes:
What might be the problem? How to solve it?
Any suggestion or idea will be appreciated.
The only problem with locking I saw so far is that you have
to make sure that the temp dir is the same for all applications.
Lucene 1.3 stores it's lock in the directory that is defined
Lucene. It looks like it is pretty straight
and correct. But the exceptions keep being thrown and
I think the unstable search result is also related to
these exceptions.
What might be the problem? How to solve it?
Any suggestion or idea will be appreciated.
Thanks
I've been using Lucene a bit, and find it very flexible and fast.
However, I need to order search results by date (or, equally, document
id); I've looked a bit into (re)writing a collect method without any
luck. I'm not programming Java too much, so I'm not getting any way with
the (few) hints
PROTECTED]]
Sent: Tuesday, March 12, 2002 12:00 PM
To: [EMAIL PROTECTED]
Subject: Search result ordering question
I've been using Lucene a bit, and find it very flexible and fast.
However, I need to order search results by date (or, equally, document
id); I've looked a bit into (re)writing
27 matches
Mail list logo