and IndexReader is
reopened.
Can you tell me why this is not happening?
- BR
Michael McCandless [EMAIL PROTECTED] wrote:
Cool Coder wrote:
Hi,
I used have index refreshed in every 4 hr. However after each
refresh, I can see two index. I am not sure how can I delete old
index.
What do you
. This will touch the index and delete the files
that are now deletable, which should be all files for your old index.
Mike
Cool Coder wrote:
What do you mean by you can see two index?
I can see two sets of lucene index files with same size and time stamp
difference is 4 hrs.
E.g. At start up
PROTECTED] wrote:
Cool Coder wrote:
Yes. Because I cannot close IndexReader in the live system. And also I
am running on Windows server.
At the end of index writing, I close writer and also reopen reader
OK, I'm glad we have it explained!
writer.close()
reader.close();
reader
would definitely be satisfied with your
suggested query and keep improving non-token list filter.
Also I would appreciate your suggestion.
- RB
markharw00d [EMAIL PROTECTED] wrote:
Cool Coder wrote:
Is there anyway I can specify which terms are MUST, I mean they
have to appear
Hi,
I used have index refreshed in every 4 hr. However after each refresh, I
can see two index. I am not sure how can I delete old index.
On starting of indexing process, I create Writer
writer = new IndexWriter(luceneDirectory,false,luceneAnalyzer,true);
At the end of
Hello,
I am trying to use FuzzyLikeThisQuery to search my help system and
show set of help entries for user selected Help topic. For any selected Help
topic, System needs to display all related topics. This works somehow, but if
query contains generic terms then result returned by
Hello Group,
I have a requirement in my project where I need to display
related items for any select item in the group. I am not sure whether this can
be possible. Let me tell you that all our documents are indexed and for any
document selected by user, we need to display
. StandardAnalyzer does not implement it. Check out
CachingTokenFilter and wrap StandardAnalzyer in it.
Cool Coder wrote:
Currently I have extended StandardAnalyzer and counting tokens in the
following way. But the index is not getting created , though I call
tokenStream.reset(). I am not sure
skrev Cool Coder:
Hi Group,
I need to display list of tokens (tags) in my side
those have got maximum occurances in my index. One way I can think
of is to keep track of all tokens during analysis and accordingly
display them. Is there any other way? e.g. if I want to display
tokens in order
(tokenStr,Integer.parseInt(TokenHolder.tokenMap.get(tokenStr).toString())+1);
}
token = result.next();
}
//exxtra reset
result.reset();
} catch (IOException e) {
e.printStackTrace();
}
}
Karl Wettin [EMAIL PROTECTED] wrote:
1 nov 2007 kl. 18.09 skrev Cool Coder:
prior
Hi Group,
I need to display list of tokens (tags) in my side those have got
maximum occurances in my index. One way I can think of is to keep track of all
tokens during analysis and accordingly display them. Is there any other way?
e.g. if I want to display tokens in order of
for net
and result was something http://sdjkkjsd.net and it got converted to
http://sjhdnjkshn.bnet/b by highlighter.
-BR
Karl Wettin [EMAIL PROTECTED] wrote:
25 okt 2007 kl. 20.18 skrev Cool Coder:
Is there any analyzer that can be configured
All of them can be.
TokenFilter.html
I
Is there any analyzer that can be configured to stop searching url test i.e.
href=? Maybe I need some sort of filter with reg ex so that searcher will
skip searching text if it matches regular expressions in the filter. I am not
sure whether this is possible? I would appreciate your valuable
Is there anyway I stop highlighting text if it is a href/url etc...? The
problem occurs when the field content is a URL which contains the query e.g. my
search is for .net and fields has value http://jkjsd.net. After applying
highlighter, it becomes http://jkjsdb.net/b, which is a wrong URL.
,
but would parse any URL as a single token. Of course, if you are using
TokenSource, this is not an option.
- Mark
Cool Coder wrote:
Is there anyway I stop highlighting text if it is a href/url etc...? The
problem occurs when the field content is a URL which contains the query e.g.
my search
I was just looking into couple of search engines like indeed.com or bixee.com
and I really got surprised the accuracy of information they have built in their
indexes and also they provide for search result.
I have same sort of requirement to build indexes for all my cleints site and
provide
://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
On 10/23/07, Cool Coder wrote:
I was just looking into couple of search engines like indeed.com or
bixee.com and I really got surprised
Hello Gurus,
I just started working on a lucene based project and I need your help on the
following queries.
The result of search needs to show a summary based on a Field value.
One of the field in the search Document is type with some possible values
like good , bad, better
If Solr will work for you, it has faceting built in.
Let me check with Solr, whether I can use Solr.
My next question is very simple, I just wanted to search more than one field
something like search for kbk pencil in description field and
manufacturer field. Can I use BooleanQuery for that?
19 matches
Mail list logo