|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Leading wildcard in Lucene Search / Searching for binariesHi all, I'm trying to build an advanced search, and wanted to refine the search, and only search for binary-documents of a specific type (pdf, doc, xls ...) I know that the lucene index saves the path to the documents, stored in OpenCms... So my search lucene-query will look like "path: *.doc" But I'm getting no results and no error, it seems that it is not possible to search with a wildcard at the beginning... I know that there is an option in the lucene search like "allowLeadingWildcard"... But how to set this in OpenCms? Maybe anyone has an idea, or knows how to solve the problem... Thanks Jonathan _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Leading wildcard in Lucene Search / Searching for binariesHi Jonathan,
why don't you use a special index for your advanced search where you use an index source having only msword, msexcel or pdf as the defined document types? Eska
|
|
|
Re: Leading wildcard in Lucene Search / Searching for binariesThank you, that might be an option...
Eska schrieb: > Hi Jonathan, > > why don't you use a special index for your advanced search where you use > an index source having only msword, msexcel or pdf as the defined document > types? > > Eska > > > Jonathan Plettenberg wrote: > >> >> >> >> >> >> Hi all, >> >> I'm trying to build an advanced search, and wanted to refine the search, >> and only search for binary-documents of a specific type (pdf, doc, xls >> ...) >> I know that the lucene index saves the path to the documents, stored in >> OpenCms... >> >> So my search lucene-query will look like >> "path: *.doc" >> >> But I'm getting no results and no error, it seems that it is not >> possible to search with a wildcard at the beginning... >> I know that there is an option in the lucene search like >> "allowLeadingWildcard"... >> >> But how to set this in OpenCms? >> >> Maybe anyone has an idea, or knows how to solve the problem... >> >> Thanks >> >> Jonathan >> >> -- >> componio GmbH >> Robert-Bosch-Straße 7 >> D - 64293 Darmstadt >> Tel: +49.6151.500.367.15 >> Office: +49.6151.500.367.0 >> Fax: +49.6151.500.367.6 >> Internet: http://www.componio.net >> E-Mail: jonathan.plettenberg@... >> HRB 9624 - Registergericht Amtsgericht Darmstadt >> >> >> >> >> >> >> >> >> _______________________________________________ >> This mail is sent to you from the opencms-dev mailing list >> To change your list options, or to unsubscribe from the list, please visit >> http://lists.opencms.org/mailman/listinfo/opencms-dev >> >> > > -- componio GmbH Robert-Bosch-Straße 7 D - 64293 Darmstadt Tel: +49.6151.500.367.15 Office: +49.6151.500.367.0 Fax: +49.6151.500.367.6 Internet: http://www.componio.net E-Mail: jonathan.plettenberg@... HRB 9624 - Registergericht Amtsgericht Darmstadt _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
| Free embeddable forum powered by Nabble | Forum Help |