Hello, Łukasz The later for sure. On Tue, Feb 4, 2020 at 12:44 PM Antczak, Lukasz <lukasz.antc...@roche.com.invalid> wrote:
> Hi, Solr experts! > > I would like to learn from you if there is a better solution for doing > 'exact search' in Solr. > Exact search means no analysis for the text other then tokenization. Query > "secret" gives back only documents containing exactly "secret" not > "secrets", "secrection", etc. Text that needs to be searched is content of > some articles. > > Solution 1. - index whole text as string, use regex for searching. > Solution 2. - index text with just tokenization, no lowercase, stemming, > etc. > > Which solution will be faster? Any other clever ideas to be evaluated? > > Regards > Łukasz Antczak > -- > *Łukasz Antczak* > Senior IT Professional > GS Data Frontiers Team <http://go.roche.com/bigs> > > *Planned absences:* > *Roche Polska Sp. z o.o.* > ADMD Group Services - Business Intelligence Team > HQ: ul. Domaniewska 39B, 02-672 Warszawa > Office: ul. Abpa Baraniaka 88D, 61-131 Poznań > > Mobile: +48 519 515 010 > mailto: lukasz.antc...@roche.com > > *Informacja o poufności: *Treść tej wiadomości zawiera informacje > przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej > adresatem, bądź otrzymaliście ją przez pomyłkę, prosimy o powiadomienie o > tym nadawcy oraz trwałe jej usunięcie. Wszelkie nieuprawnione > wykorzystanie informacji zawartych w tej wiadomości jest zabronione. > > *Confidentiality Note:* This message is intended only for the use of the > named recipient(s) and may contain confidential and/or proprietary > information. If you are not the intended recipient, please contact the > sender and delete this message. Any unauthorized use of the information > contained in this message is prohibited. > -- Sincerely yours Mikhail Khludnev