Re: [POLL] Where do you get Lucene/Solr from? Maven? ASF Mirrors?

2011-01-19 Thread Daan de Wit
r (someone in your company mirrors them internally or via a downstream project) Daan de Wit

RE: tag search

2008-10-24 Thread 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

RE: Can Lucene tells which field matched ?

2008-11-06 Thread Daan de Wit
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

RE: i18n numbers

2009-03-27 Thread Daan de Wit
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

Re: update a specific document

2009-06-19 Thread Daan de Wit
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

Re: update a specific document

2009-06-19 Thread Daan de Wit
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

RE: Query regarding usage of Lucene(Filtering folder)

2008-02-28 Thread Daan de Wit
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

RE: Is it possible to get only one Field from a Document?

2008-06-11 Thread Daan de Wit
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

RE: Is it possible to get only one Field from a Document?

2008-06-11 Thread Daan de Wit
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

RE: Is it possible to get only one Field from a Document?

2008-06-11 Thread Daan de Wit
] 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

RE: Lucene code injection?

2007-05-24 Thread Daan de Wit
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

RE: A simple question

2005-12-14 Thread Daan de Wit
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:

usage of parallelreader

2005-12-15 Thread Daan de Wit
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

RE: QueryParser over multiple fields

2005-12-29 Thread Daan de Wit
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

RE: Lucene Security Advice

2005-10-05 Thread Daan de Wit
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-

RE: Lucene Security Advice

2005-10-05 Thread Daan de Wit
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