Lucene Retrieve Previous and Next Tokens At Analyzed Index

2014-02-27 Thread Furkan KAMACI
Hi; I use Lucene 4.6.1 for my project. I can analyze my documents with my custom analyzer. I want that:: if a token is matched a starts with regex query I want to get previous 10 tokens and after 10 tokens (totally 20 tokens - if exists) and also current token. I don't want to do it analysis

Fuzzy query on capital letters does not match documents

2014-02-27 Thread G.Long
Hi :) In my lucene index, there are documents with a field title. values of this field are indexed with a whitespace analyzer. When I search for documents, I create a boolean query which includes fuzzy queries for the title. The final query looks like: +tnc_title:portant~0.7

Re: Fuzzy query on capital letters does not match documents

2014-02-27 Thread Jack Krupansky
Be careful with very short terms and fuzzy query. The rounding when converting from a fraction to an edit distance can make the match exact rather than fuzzy. What terms does your index have? XV, Xv, xV, xv? XV~0.7 may only match XV. -- Jack Krupansky -Original Message- From: G.Long

Re: Fuzzy query on capital letters does not match documents

2014-02-27 Thread G.Long
Rigth, my index has the term XV. I removed the character and the query worked. Thanks for your help :) Gary Le 27/02/2014 18:36, Jack Krupansky a écrit : Be careful with very short terms and fuzzy query. The rounding when converting from a fraction to an edit distance can make the match

ANNOUNCE: Lucene/Solr @ ApacheCon (Denver, April 7-9)

2014-02-27 Thread Chris Hostetter
(cross posted, please keep any replies to general@lucene) ApacheCon Denver is coming up and registration is currently open. In addition to a solid 3 day track of Lucene Solr related talks, there are also some post confrence events that are open to anyone even if you don't attend the

How to Give Range In Document Part

2014-02-27 Thread Priyanka Tufchi
Hi All Is there any way to give the NumericRange For Document like we have NumericRangeQuery for Query? Scenario : Document has Min Year and Max Year Experience of Requirement and the child Query will have overall Exp ...I have to Do searching on base of Exp . How can I DO it ? Thanks Priyanka

Re: Lucene Retrieve Previous and Next Tokens At Analyzed Index

2014-02-27 Thread pravesh
Hi, A little bit of details would further help. Any examples? Also what is the use-case for this? Regards -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-Retrieve-Previous-and-Next-Tokens-At-Analyzed-Index-tp4120076p4120340.html Sent from the Lucene - Java Users