Re: Environmental Protection Agency: Stop Deforesting in Sri Lanka

2019-03-21 Thread Noble Paul
+ Erick This should be considered as spam On Fri, Mar 22, 2019 at 2:03 AM Erick Erickson wrote: > > This is an entirely inappropriate use of this list, do not do so again. > > > On Mar 21, 2019, at 12:06 AM, bjchathura...@gmail.com wrote: > > > > Hello there, > > > > I just signed the petition "E

Help with token streams and graphs (v2)

2019-03-21 Thread Nicolás Lichtmaier
(When I sent this message earlier I had used HTML to make it more clear and easier to read. I see now that the list software removed that leaving an unreadable mess. I'm sending this again, in case somebody could be kind enough to guide me here a bit. =) ) -- I'm trying to make synonyms w

Re: Environmental Protection Agency: Stop Deforesting in Sri Lanka

2019-03-21 Thread Erick Erickson
This is an entirely inappropriate use of this list, do not do so again. > On Mar 21, 2019, at 12:06 AM, bjchathura...@gmail.com wrote: > > Hello there, > > I just signed the petition "Environmental Protection Agency: Stop > Deforesting in Sri Lanka" and wanted to see if you could help by adding

Re: position-anchored queries

2019-03-21 Thread Michael Sokolov
Thanks Mikhail; I see SpanPositionRangeQuery, SpanFirstQuery, and thanks Adrien for confirming there is no max position. I have a legacy system that indexes anchor tokens at beginning and end, and am checking if there is a better approach. It seems as if we could get rid of the start token, but we

Re: position-anchored queries

2019-03-21 Thread Adrien Grand
We don't track of the maximum position per doc. One way to do ends-with queries would be to write a token filter that emits a special token at the end of the wrapped token stream and use it as the last token of a phrase query. On Thu, Mar 21, 2019 at 1:29 PM Michael Sokolov wrote: > > Hi, if I wa

Re: position-anchored queries

2019-03-21 Thread Mikhail Khludnev
Hello, Michael. I'm aware of in XML Query Parser. On Thu, Mar 21, 2019 at 3:29 PM Michael Sokolov wrote: > Hi, if I want to write a begins-with, ends-with, or exact-match style > query; like a phrase query, but anchored to the beginning of a field, the > end, or both, is there a generally-acce

position-anchored queries

2019-03-21 Thread Michael Sokolov
Hi, if I want to write a begins-with, ends-with, or exact-match style query; like a phrase query, but anchored to the beginning of a field, the end, or both, is there a generally-accepted best way? I can see how to maybe create a positional query that specifies the exact position for each term (at

Environmental Protection Agency: Stop Deforesting in Sri Lanka

2019-03-21 Thread bjchathuranga
Hello there, I just signed the petition "Environmental Protection Agency: Stop Deforesting in Sri Lanka" and wanted to see if you could help by adding your name. Our goal is to reach 15,000 signatures and we need more support. You can read more and sign the petition here: http://chng.it/vY78rzGf