Re: Highlighting text, do I seriously have to reimplement this from scratch?

2014-02-05 Thread Trejkaz
On Wed, Feb 5, 2014 at 4:16 AM, Earl Hood e...@earlhood.com wrote: Our current solution is to do highlighting on the client-side. When search happens, the search results from the server includes the parsed query terms so the client has an idea of which terms to highlight vs trying to

Re: Highlighting text, do I seriously have to reimplement this from scratch?

2014-02-05 Thread Olivier Binda
On 02/05/2014 01:05 AM, Michael Sokolov wrote: On 2/4/2014 2:50 PM, Earl Hood wrote: On Tue, Feb 4, 2014 at 1:16 PM, Michael Sokolov wrote: You might be interested in looking at Lux, which layers XML services like XQuery on top of Lucene and Solr, and includes an XML-aware highlighter:

Re: question about using lucene on large documents

2014-02-05 Thread Michael Sokolov
No, not really. What would you do if you had a match contained entirely within the overlapping region? You'd probably need a way to distinguish that from a term that matched in two adjacent chunks, but *not* in the overlap. Sounds very tricky to me. -Mike On 2/5/2014 2:21 AM, mrodent

Help retrieving BinaryDocValues

2014-02-05 Thread Xavier Sanchez Loro
Hi, I have some problems working with BinaryDocValues. The code below works well with a few thousands of documents, but with more than 65000 documents it does not return the correct BinaryDocValues after the docId (with docBase rebasing) reaches a certain id. From this point on, it cycles

[REMINDER] ApacheCon NA 2014 Travel Assistance Applications Due Feb 7

2014-02-05 Thread Chris Hostetter
(NOTE: cross posted, if you feel the need to reply, please keep it on general@lucene) As a reminder, Travel Assistance Applications for ApacheCon NA 2014 are due on Feb 7th (about 48 hours from now) Details are below, please note that if you have any questions about this program or the

Wildcard searches

2014-02-05 Thread raghavendra.k.rao
Hi, Can Lucene support wildcard searches such as the ones shown below? Indexed value is XYZ CORPORATION LIMITED. XYZ CORPORATION LIMI* XYZ CORPORATION *MIT* XYZ *PORAT* LIMI* *YZ CORPO* LIMITE* In other words, the flexibility for the user to provide a wild card at any position, in a situation

Re: Wildcard searches

2014-02-05 Thread Jack Krupansky
Take a look at the complex phrase query parser. See: http://lucene.apache.org/core/4_6_0/queryparser/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.html See also: https://issues.apache.org/jira/browse/LUCENE-1486 -- Jack Krupansky -Original Message- From:

Re: Wildcard searches

2014-02-05 Thread Michael Sokolov
On 2/5/2014 6:30 PM, raghavendra.k@barclays.com wrote: Hi, Can Lucene support wildcard searches such as the ones shown below? Indexed value is XYZ CORPORATION LIMITED. If you index the value as a single token (KeywordTokenizer), there is nothing really special about the examples you

Re: Highlighting text, do I seriously have to reimplement this from scratch?

2014-02-05 Thread Earl Hood
On Tue, Feb 4, 2014 at 6:05 PM, Michael Sokolov wrote: Thanks for the feedback. I think it's difficult to know what to do about attribute value highlighting in the general case - do you have any suggestions? That is a challenging one since one has to know how attribute data will be

Lucene 4.0 chokes on multiple requests

2014-02-05 Thread saisantoshi
We recently upgraded to Lucen4.0 and found performance issues in searching the results. Upon some analysis, we found that it chokes when there are multiple requests coming for lucene search. User1 - Search User2 - search User3 - search The search request done by User Search1 is still waiting