Re: SpanQuery - How to wrap a NOT subquery

2016-06-22 Thread Brandon Miller
Thank you!! Okay, I think I have that all squared away. *SpanLastQuery*: I need something like SpanFirstQuery, except that it would be SpanLastQuery. Is there a way to get that to work? *Proximity weighting getting ignored*: I also need to get span term boosting working. Here's my query: "one t

Re: SpanQuery - How to wrap a NOT subquery

2016-06-21 Thread Brandon Miller
Awesome, 0 pre and 1 post works! I replaced pre with Integer.MAX_VALUE and post with Integer.MAX_VALUE - 5 and it works! If I replace post with Integer.MAX_VALUE - 4 (or -3, -2, -1, -0), it fails. But, if it's -(5+), it appears to work. Thank you guys for suffering through my inexperience with So

Re: SpanQuery - How to wrap a NOT subquery

2016-06-21 Thread Brandon Miller
I saw the second post--the first post was new to me. We plan on connecting with those people later on, but right now, I'm trying to write a stop-gap dtSearch compiler until we can at least secure the funding we need to employ their help. Right now, I have a very functional query parser, with just

Re: SpanQuery - How to wrap a NOT subquery

2016-06-20 Thread Brandon Miller
ou tried SpanNotQuery? This would allow you at least to do > something like: > > > > termA but not if zyx or yyy appears X words before or Y words after > > > > > > > > *From:* Brandon Miller [mailto:computerengineer.bran...@gmail.com] > *Sent:* Monday,

dtSearch parser & Introduction

2016-05-12 Thread Brandon Miller
Hello, all! I'm a BloombergBNA employee and need to obtain/write a dtSearch parser for solr (and probably a bunch of other things a little later). I've looked at the available parsers and thought that the surround parser may do the trick, but it apparently doesn't like nested N or W subqueries. I