Hi,
A KeywordAnalyzer solved my problem.
Luke allowed me to understand the queries and the content of the index.
Thanks (Erick & Balasubramanian Sudaakeran)
Tom
--- En date de : Dim 31.5.09, Erick Erickson a écrit :
De: Erick Erickson
Objet: Re: Index and search terms containing character "
> Well what happens is if I use a SpanScorer instead, and allocate it like
> > such:
> >
> >analyzer = StandardAnalyzer([])
> >tokenStream = analyzer.tokenStream("contents",
> > lucene.StringReader(text))
> >ctokenStream = lucene.CachingTokenFilter(tokenStream)
I don't have any specific experience with iSCSI, so what follows is
speculation...
I think iSCSI, which just routes SCSI commands over TCP/IP to some
remote storage device, is at a much lower level than NFS. IE, to the
computer this remote device acts like a local device, and therefore
you can in
Or
searcher.search( new PrefixQuery( new Term("desc","") ) );
DIGY
-Original Message-
From: balasubramanian sudaakeran [mailto:sudaakera...@yahoo.com]
Sent: Tuesday, June 02, 2009 7:51 AM
To: java-user@lucene.apache.org
Subject: Re: Searching documents that contain a field (text of fie
Thanks very much!!!
-Original Message-
From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com]
Sent: Tuesday, June 02, 2009 9:42 AM
To: java-user@lucene.apache.org
Subject: Re: Possible bug in QueryParser when using CJKAnalyzer (lucene
2.4.1)
Lisheng,
A patch file is just a text fil
Lisheng,
A patch file is just a text file, so you will be able to open it with any text
editor.
But you'll need to apply it from the command line or from an IDE -
http://www.google.com/search?hl=en&q=how+to+apply+a+patch
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
Thanks very much, this could be the same issue, but somehow
I could not open the *.patch file, maybe that's sth trivial,
is there a *.patch file related tools? I really appreciate
a simple pointer.
Best regards, Lisheng
-Original Message-
From: Koji Sekiguchi [mailto:k...@r.email.ne.jp]
thanks all for your replies. I am checking Katta...
-Tarandeep
On Tue, Jun 2, 2009 at 8:05 AM, Stefan Groschupf wrote:
> Hi,
> you might want to checkout:
> http://katta.sourceforge.net/
>
> Stefan
>
> ~~~
> Hadoop training and consulting
> http://www.scaleunlimited.
Hi all,
*Requirment *
I have a query of type *SrndQuery *which is parsed by *QueryParser*.On the
hit of this query I want to get the region of words around the match.
*Approach followed*
I used the highlighting logic code as per example usage in <<
http://lucene.apache.org/java/2_4_1/api/org/apac
Thanks for your response.
BTW, I got it done using TopDocs in place of Hits and used this
String content = searcher.doc(topDocs.scoreDocs[i].doc).get("content");
instead of
String content = hits.doc(i).get("content");
Thanks,
KK
On Tue, Jun 2, 2009 at 6:52 PM, Erick Erickson wrote:
> First,
First, I'd ask how sure you are that highlighting is the problem.But
answering this should be simple, just remove the
highlighting portion.
Why can't you just stop iterating the Hits object at your limit?
Something like:
for (int i = 0; i < hits.length() && i < 50; i++)
?
That'll tell you whethe
Hi All,
I've been using hit highlighting for some time for non-english search.
I'm indexing the fields using this,
Document doc = new Document();
doc.add(new Field(contentField, pageContent, Field.Store.YES,
Field.Index.TOKENIZED));
doc.add(new Field(idField, pageId, Field.Store.YES,
F
12 matches
Mail list logo