> If the field is tokenized and indexed, can I still search that field?
Yes.
> My code looks like this:
>
> theDocument = new Document();
> if ( 0 != textString.length() ) {
> textField = Field.UnStored( FIELD_TEXT, textString );
> theDocument.add( textField );
> }
>
> then I search it like t
Hi-
If the field is tokenized and indexed, can I still search that field?
My code looks like this:
theDocument = new Document();
if ( 0 != textString.length() ) {
textField = Field.UnStored( FIELD_TEXT, textString );
theDocument.add( textField );
}
then I search it like this:
indexReader = In
Yes, the BitSet has to be the same size as the number of documents in the
index.
If you have enough memory you could cache the BitSet in the VM's memory
rather
then storing it in a clob though.
Joel
- Original Message -
From: "Nader S. Henein" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
one minor correction... (!)
> > 2. What the query string suppose to be if I want to get records which
> > contain (Australia and 20020415) and (not (HongKong and 20020315))?
>
> ((Australia +tagname:country) AND (+tagname:date +20020415)) AND
> !(( tagname:country HongKong) AND (tagname:date 200
Fanny,
The current implementation allows for searching on:
a.. the entire PCDATA content of an XML document.
b.. the PCDATA content within specific elements.
c.. processing instructions by name and content.
d.. attributes of elements by both name and value.
e.. elements/PIs with specific parent
For those of you who have worked with the BitSet concept to
use lucene in searching within a subset, just to make sure that
I got this right, if I have 100 000 documents to search, my Bit Vector
will be of 100 000 length, just to save that vector for repeated use
I'll have to use a clob! Am I thin
I'll try to have it available in the sandbox area by the end of the week.
I would also love to see others implementations.
--Peter
On 5/13/02 6:11 AM, "Jonathan Ferguson" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> Regarding the post [1] Peter Carlson made to the Lucene users mailing list
> on th
> +(Australia AND tagname:country) AND +(20020415 AND tagname:date)
AND and + does the same, so:
+(Australia AND tagname:country) +(20020415 AND tagname:date)
should return a set with documents everything are mached, basicly the same as:
Australia AND tagname:country AND 200204
Hello,
Regarding the post [1] Peter Carlson made to the Lucene users mailing list
on the 30 April about sorting by fields, primarily date.
I was wondering if a Lucene release with this feature was due for release
soon and / or if anyone had implemented this or something similar ?
[1]
http://
Hi,
Does anyone know how to make up the query for multiple fields search on XML
files in the sample provided by isogen? Does it support?
I would like to get all the results which contain the value of 'Australia'
in tag 'country' AND the date is '20020415' in the tag 'date'. I always get
0 hit
10 matches
Mail list logo