lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arlei Ferreira Farnetani Junior <farnet...@gmail.com>
Subject Example Complex of Result Fragment
Date Sat, 09 Mar 2013 18:55:38 GMT
Imagine that I have a search by name: *JOHN MCCALEY*, in the following text
below:

------------------------------------------ Sample Page
-------------------------------------------------------------------------------------------------------------------------------------------

Proc. 0006018-56.2002.8.19.0001 (2002.001.002839-3) - Lawyer *John Mccaley*.
Judge defers the request for indemnification of its process.
The action is well founded and Attendance lawyer asks the Principal Civil
Court.
Proc. 0002678-94.1974.8.19.0001 (1974.001.700621-8) (22618) -
Inventariante: LIA BUONOMO MENDONÇA, Herdeiro: ESPÓLIO DE RENATO BUONOMO
MENDONÇA, Herdeiro: ESPÓLIO DE ANTÔNIO BUONOMO MENDONÇA (Adv(s). Dr(a).
ANGELA HARA BUONOMO MENDONÇA (OAB/RJ-033658) X EGÍDIO MENDONÇA THURLER E
OUTRO Aos interessados sobre custas judiciais para remessa ao Contador.

Proc. 0003018-56.2002.8.19.0001 (2002.001.002839-3) -
*JOHN MCCALEY* E OUTROS X AURORA ALVES DA COSTA GODINHO (Adv(s). Dr(a).
MURILO ESTEVES DE CARVALHO (OAB/RJ-044537I) MARIA REGINA DE BRITO COLLACO
VERAS E OUTROS, Dr(a). DEBORA LUCENA SANCHES
(OAB/RJ-131493) AOS DESARQUIVAMENTO DOS AUTOS.
INTERESSADOS SOBRE

Proc. 0005018-56.2002.8.19.0001 (2002.001.002839-3) - Lawyer *John Mccaley*.
Judge dismissed the revision of alimony to the defendant Michael Mcnamara.

Proc. 0003586-44.1980.8.19.0001 (1980.001.301189-5) (33200) -
Inventariante: MARIA CELINA DE OLIVEIRA LOURENCO MARQUES MOURO X JOSE MARIA
E OUTRO (Adv(s). Dr(a). GILDA PAIVA LOURENCO (OAB/RJ-039004) Herdeiro:
AMÉRICO LOURENÇO, Herdeiro: JULIO LOURENÇO Aos interessados sobre custas
judiciais para remessa ao Contador.

Proc. 0005979-14.1995.8.19.0001 (1995.001.005484-8) (24385) - *JOHN
MACCALEY *X EMILIA DA SILVA (Adv(s). Dr(a). SUELY TEODORO NARDY DA SILVA
(OAB/RJ-049396), Dr(a). OSWALDO DA COSTA CORREA (OAB/RJ-029067) Aos
interessados sobre custas judiciais para remessa ao Contador.

Proc. 0028813-88.2007.8.19.0001 (2007.001.027610-8) -
ALEXANDRE MOURA DUMANS E OUTRO (Adv(s). Dr(a). CARLOS ROBERTO FERREIRA
BARBOSA MOREIRA (OAB/RJ-061492) X HENRIQUETA DE MOURA SILVA Despacho: 1)
Fls. 263/264 - Oficie-se na forma requerida.2) Após, intimem-se os
interessados sobre o ofício de fls. 265.


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I need Lucene I clipped the result, ie, he can catch the beginning of the
text before the name *JOHN MCCALEY* until the end of the text after the
name,
I mean that the end of the text is a line break.

*This is possible with Lucene?* Can anyone give any examples of how I could
do this? Recalling that the result has to come to the end
of the sentence before the line break and not just a piece cutting words.

Thanks a lot.
farnetani@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message