RE: Multiline Regex with Lucene

2009-07-29 Thread ba3
positions which is unknown]. If the number of positions are known then the spans could be used. I came across qsol where in the paragraphseperator and sentence seperator can be specified and string can be searched within the paragraph. Can you give your comments. - Rgds Ba3 Steven A Rowe wrote

RE: Multiline Regex with Lucene

2009-07-28 Thread ba3
Hi Steve, In case of span queries, the span first query can specify the start of the span, is it possible to specify the term [not the position] indicating the end of the span ? -- Regards Ba3 Steven A Rowe wrote: > > Hi ba3, > > Check out the list of "Direct Known Sub

Re: Multiline Regex with Lucene

2009-07-28 Thread ba3
. -- Regards Ba3 Erick Erickson wrote: > > I doubt you're thinking in terms of tokens. Your inputstream is broken up > into tokens (think of them as words, > depending upon the analyzer) and regex searchers are > confined to those *tokens*. So the concept of a multi-line &g

RE: Multiline Regex with Lucene

2009-07-27 Thread ba3
Hi Steve, I had used the standardanalyzer. Should a different one be used ? -- Ba3 Steven A Rowe wrote: > > Hi ba3, > > What analyzer did you use when indexing the content field? > > Steve > >> -Original Message- >> From: ba3 >> Sent: Sunday,

Multiline Regex with Lucene

2009-07-26 Thread ba3
()); I verified the regex in : http://www.gskinner.com/RegExr/ [with the multi line checked] In lucene though there are no hits. Can you please point me in the right direction -- Rgds Ba3 Regex : hello.*(\r[^#]*)This is to be searched.*(\r[^#]*)# Content : hello world This is to be searched # Tes

Re: Exclusion search

2009-07-23 Thread ba3
result of documents having only krish and raj as volunteers. -- Regards Ba3 Erick Erickson wrote: > > Can you re-index the documents? Because it's much simpler tojust count the > number of volunteers *as you add fields to the > doc to index it* and then just add the count field af

Re: Exclusion search

2009-07-22 Thread ba3
Yes, the documents were already indexed and the documents do not get updated. Maintaining an alternate index is a nice solution. Will try it out. Thanks for the pointer. If there is a solution which can use the same index it would be great! --Rgds Ba3 Perhaps I misunderstood something, but

Re: Exclusion search

2009-07-22 Thread ba3
o solve this scenario. -- Rgds Ba3 -- View this message in context: http://www.nabble.com/Exclusion-search-tp24600949p24602308.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e-mai

Exclusion search

2009-07-21 Thread ba3
above snapshot of docs, the doc3 alone qualifies in the result and not the first two. Using boolean query I could find the three documents. Can you please suggest me some pointers as to how this can be achieved. -- Regards Ba3 -- View this message in context: http://www.nabble.com/Exclusion

Re: Range query and a proximity search

2009-07-21 Thread ba3
Excellent !! Thanks for pointing me towards the ComplexPhraseQueryParser. --Regards Ba3 Ahmet Arslan wrote: > > >> Can you please suggest me some pointers as to how a range >> query combined with proximity be done. > > Your remedy is ComplexPhraseQueryParser that u

Range query and a proximity search

2009-07-21 Thread ba3
n AND 41" or "revision AND 42" or yielded proper results. Can you please suggest me some pointers as to how a range query combined with proximity be done. -- Regards Ba3 -- View this message in context: http://www.nabble.com/Range-query-and-a-proximity-search-tp245828