//www.cnn.com/
> >> page_description: cnn breaking news
> >> page_title_ajax: news
> >> page_title_paris: cnn news
> >> page_title_daniel: homepage
> >> username: ajax
> >> username: paris
> >> username: danie
There has been discussion in the past about how PhraseQuery artificially
requires that the Terms you add to it must be in the same field ... you
could theoretically modify PhraseQuery to have a tpe of query that
required terms in one field be withing (slop)N positions of a term in a
"parallel"
gt; page_title_ajax:news. Might not even need to store user.
>>
>>
>> --
>> Ian.
>>
>>
>> On Tue, Nov 18, 2008 at 5:48 PM, Mark Ferguson
>> <[EMAIL PROTECTED]> wrote:
>> > Hello,
>> >
>> > I am designing an index in w
gt;
> > I am designing an index in which one url corresponds to one document.
> Each
> > document also contains multiple parallel repeating fields. For example:
> >
> > Document 1:
> > url: http://www.cnn.com/
> > page_description: cnn breaking news
> >
page_title_ajax:news. Might not even need to store user.
--
Ian.
On Tue, Nov 18, 2008 at 5:48 PM, Mark Ferguson
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am designing an index in which one url corresponds to one document. Each
> document also contains multiple parallel rep
Hello,
I am designing an index in which one url corresponds to one document. Each
document also contains multiple parallel repeating fields. For example:
Document 1:
url: http://www.cnn.com/
page_description: cnn breaking news
page_title: news
page_title: cnn news
page_titel: homepage
On Thursday 22 June 2006 21:18, Subodh Damle wrote:
> Hi all.
>
> We've been using Lucene to index our dynamic data structure and so far
> Lucene has been flexible enough to accommodate our requirements.
>
> Now we have this requirement about searching repeating fields,
: Here, the 'revenue-info' is a repeating node, so we can have records like :
: Record 1
: ---financial-data
: --revenue-info
: year = 2000
: amount = 100
: --revenue-info
: year = 2001
: amount = 200
:
: Record 2
: ---financial-data
: --revenue-
Hi all.
We've been using Lucene to index our dynamic data structure and so far
Lucene has been flexible enough to accommodate our requirements.
Now we have this requirement about searching repeating fields, whose
implementation is not clear.
Our data records have a dynamic tree
On Dec 7, 2005, at 8:48 AM, Reza Ghaffaripour wrote:
I think having different documents will not be a good idea.
for me each xml is an ebook. and "p" means paragraph.
i have hundereds of paragraphs in every ebook. and i think i should
keep
each ebook in a single
document. am i right ?
How
That's what I have, loads of different tags and (abstract) tags etc
in each xml document so a lucene document for each is okay.
malcolm
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
I think having different documents will not be a good idea.
for me each xml is an ebook. and "p" means paragraph.
i have hundereds of paragraphs in every ebook. and i think i should keep
each ebook in a single
document. am i right ?
On 12/7/05, Malcolm <[EMAIL PROTECTED]> wrote:
>
>
> Firstly you
Firstly you should obtain LUKE and check everything is layed out correctly
in your index.
Secondly maybe a Wildcard/prefix query or termquery.for example(termquery):
TermQuery heTerm = new TermQuery(
new Term("p",
"x"));
TermQuery sheTerm = new TermQuery(
ne
On Dec 7, 2005, at 3:49 AM, Reza Ghaffaripour wrote:
hi all,
im new to lucene. i have an xml with repeating tags.something like :
x
xx
xxx
I add the "p" field as follows:
myDocument.add(Field.Text("p", "x"));
myDocument.add(Field.Text("p", "xx"));
but when i search for "x" it returns t
hi all,
im new to lucene. i have an xml with repeating tags.something like :
x
xx
xxx
I add the "p" field as follows:
myDocument.add(Field.Text("p", "x"));
myDocument.add(Field.Text("p", "xx"));
but when i search for "x" it returns the first hit only.
what should i do ? i want to search fo
15 matches
Mail list logo