From: Jos v. d. O. <jvd...@gm...> - 2007-02-16 10:44:16
|
2007/2/16, Ben van Klinken <bva...@gm...>: > possible... maybe by using a blank or null fieldname. > > though i still don't see the whole value in it, since you'd lose > control over the analysers and you'd be searching the key (url/id/etc) > fields as well Yes, but you for desktop search you want to search filename too. I'm not sure how to handle the score in such cases though. > ben > > On 16/02/07, Thomas Busch <tho...@us...> wrote: > > Hi Jos, > > > > you should be able to use the MultiFieldQueryParser to do this. > > > > However talking of this I was wondering if it was not much faster > > to do a scan without field comparison than using the MultiField > > QueryParser. > > > > Ben what do you think ? > > > > That could be a cool optimisation. > > > > Thomas. > > > > > 2007/2/16, Ben van Klinken <bva...@gm...>: > > >> besides specifying each field seperately, i'm afraid not. but its > > >> rarely logical to do so, anyway - as far as i can think of. > > > > > > It is a very common request for Strigi to search in all fields. Having > > > read up the lucene fileformat, I see that it would be very efficient > > > to do this. OR'ing all fields is possible though and would probably > > > not even be that much slower, but I'm not sure how it's implemented. > > > Would CLucene scan for the term for each field separately? > > > > > > Cheers, > > > Jos > > > > > >> > > >> ben > > >> > > >> On 15/02/07, Jos van den Oever <jvd...@gm...> wrote: > > >> > Hi All, > > >> > > > >> > I was wondering if it is possible to search in all fields at once? The > > >> > termdictionary file would certainly allow to do that efficiently, but > > >> > is there a good function for it? > > >> > > > >> > Cheers, > > >> > Jos > > >> > > > >> > ------------------------------------------------------------------------- > > >> > Take Surveys. Earn Cash. Influence the Future of IT > > >> > Join SourceForge.net's Techsay panel and you'll get the chance to > > >> share your > > >> > opinions on IT & business topics through brief surveys-and earn cash > > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > >> > _______________________________________________ > > >> > CLucene-developers mailing list > > >> > CLu...@li... > > >> > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > >> > > > >> > > >> ------------------------------------------------------------------------- > > >> Take Surveys. Earn Cash. Influence the Future of IT > > >> Join SourceForge.net's Techsay panel and you'll get the chance to share your > > >> opinions on IT & business topics through brief surveys-and earn cash > > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > >> _______________________________________________ > > >> CLucene-developers mailing list > > >> CLu...@li... > > >> https://lists.sourceforge.net/lists/listinfo/clucene-developers > > >> > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > CLucene-developers mailing list > > > CLu...@li... > > > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > CLucene-developers mailing list > > CLu...@li... > > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > CLucene-developers mailing list > CLu...@li... > https://lists.sourceforge.net/lists/listinfo/clucene-developers > |