r (someone in your company mirrors them internally or via a
downstream project)
Daan de Wit
Hi Borja,
Try to add multiple untokenized fields named 'tag', each holding one tag.
Regards,
Daan
> -Original Message-
> From: Borja MartÃn [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 24 oktober 2008 12:59
> To: java-user@lucene.apache.org
> Subject: tag search
>
> Hi,
> I want to index a
Hi,
I have implemented such a solution using the query explanation.
IndexSearcher has an explain(Query query, int document) method that
returns an Explanation object, on the Explanation object you can ask if
it is a match with #isMatch(). You still need to repeat this for each
found document thoug
Maybe you can create a filter that parses numeric tokens to their
locale-specific counterpart, and then search for both the converted and
the unconverted token.
Daan
> -Original Message-
> From: Marcel Overdijk [mailto:marceloverd...@gmail.com]
> Sent: vrijdag 27 maart 2009 7:55
> To: jav
There's also IndexWriter#updateDocument(Term, Document) now, to use
that one you need to be able to uniquely identify a document using a
term (probably with an application-specific id field or something).
This method does also delete and readd the document, but it is a
somewhat cleaner api.
Daan
to everybody, the opinions to me. The
> distinction is yours to draw
>
>
> On Fri, Jun 19, 2009 at 1:26 PM, Daan de Wit wrote:
>
>> There's also IndexWriter#updateDocument(Term, Document) now, to use
>> that one you need to be able to uniquely identify a doc
This sure is possible with Lucene. What you need to do is index the path
along with your documents, so you get a field like this: `path:
/subfolder/subsubfolder`. Now you can restrict your search to a specific
path. Including subfolders in the search can be done by adding a '*' to
the path used in
this issue: https://issues.apache.org/jira/browse/LUCENE-1290
Kind regards,
Daan de Wit
-Original Message-
From: Marcelo Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 13:29
To: java-user@lucene.apache.org
Subject: Is it possible to get only one Field from a Documen
But I doubt this will solve your memory issue because nonstored fields are not
read when retrieving the document.
-Original Message-
From: Daan de Wit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 13:44
To: java-user@lucene.apache.org
Subject: RE: Is it possible to get only
]
Sent: Wednesday, June 11, 2008 15:08
To: java-user@lucene.apache.org
Subject: Re: Is it possible to get only one Field from a Document?
Daan de Wit escreveu:
> But I doubt this will solve your memory issue because nonstored fields are
> not read when retrieving the document.
>
Thank
Hi Joe,
It might be possible when you append the restriction before parsing the
user query with the QueryParser, but I'm not sure. I recommend first
parsing the query, and then constructing a BooleanQuery with the parsed
user query and the e-mail term both as must. Another approach would be
to use
Because you did not specify a field to search in, the search
"TITLE:Hello or TITLE:hello or TITLE:h*" will return more I guess. You
can specify a default field to search in via QueryParser.parse(query,
field, analyzer)
-Original Message-
From: Daniel Cortes [mailto:[EMAIL PROTECTED]
Sent:
Hi all,
Within our application it is possible for users to add reactions for
files. It is a requirement that a search returns a file if the query
matches the contents or a reaction. I think it would be best to use to
different indexes, one for the file and another one for the reactions.
Searchi
Hi Gaston,
Have a look at MultiFieldQueryParser.
Greetings,
Daan
-Original Message-
From: Gaston [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 13:42
To: java-user@lucene.apache.org
Subject: QueryParser over multiple fields
Hallo,
in my index every document consistsof mu
Hi Steve,
I think you can best split up the document into separate fields, and
then use FilteredQueries to search. The QueryFilter (which does not
effect scoring) can be built using a BooleanQuery with the sections the
user can search on as optional Terms
Regards,
Daan
-Original Message-
I'm sorry, the moment I pressed the send-button I realized that this is
not a solution for your problem.
A solution might be to index split up the sections into different
documents with a field 'section' on which you can filter.
Regards,
Daan
-Original Message-----
From: Daan
16 matches
Mail list logo