Hi,
I'm interested in the functionality supposedly implemented through
ProximityQueryNode. Currently, it seems like it is not used by the
default QueryParser or anywhere else in Lucene, right? This makes
perfectly sense since I don't see a Lucene index store any notion of
sentences, paragraphs, etc. Is that right too?
I would be interested whether anyone (else) is working on implementing
this into some query parser and on any theoretical and practical
approaches about indexing the given types. Also, I think that the type
should (at some point in the future) be more flexible than the given
values enumerated in the class so that one could also index arbitrary
custom units, e.g. pages, discourse units, syntactic chunks, etc.

My current approach on indexing sentence and paragraph information is to
store them in token payloads and then perform a check in matching tokens
whether their respective sentences match the given distance query. Any
better ideas?

Best,
Carsten

-- 
Institut für Deutsche Sprache | http://www.ids-mannheim.de
Projekt KorAP                 | http://korap.ids-mannheim.de
Tel. +49-(0)621-43740789      | schno...@ids-mannheim.de
Korpusanalyseplattform der nächsten Generation
Next Generation Corpus Analysis Platform

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to