You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by luciusvorenus <lu...@hotmail.de> on 2010/02/28 18:59:04 UTC

expand the search

Hello
how can I expand the search so that in addition to the actual search terms
are also temporal temporal conditions are ? 

  og .. Like this --->>  Vancouver 2010 or Vancouver <2010..

Thank U
-- 
View this message in context: http://old.nabble.com/expand-the-search-tp27736795p27736795.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: expand the search

Posted by luciusvorenus <lu...@hotmail.de>.
Ok 
i wil try

Thank U Ian


Ian Lea wrote:
> 
> Index the year as a 4 character unanalyzed field and pass e.g.
> year:{0000 TO 2010} to query parser along with your other terms..
> 
> See http://lucene.apache.org/java/3_0_0/queryparsersyntax.htm for the
> syntax.
> 
> If you aren't using the query parser, see javadocs for TermRangeQuery or
> NumericRangeQuery.
> 
> 
> --
> Ian.
> 
> On Sun, Feb 28, 2010 at 6:31 PM, luciusvorenus
> <lu...@hotmail.de> wrote:
>>
>>
>> Thank U Ian.
>>
>> can you help me a little?  what exactly  I suposse to do?
>>
>> Br
>> Lucius
>>
>> Ian Lea wrote:
>>>
>>> Sounds like a job for a range query.
>>>
>>>
>>> --
>>> Ian.
>>>
>>>
>>> On Sun, Feb 28, 2010 at 5:59 PM, luciusvorenus
>>> <lu...@hotmail.de> wrote:
>>>>
>>>> Hello
>>>> how can I expand the search so that in addition to the actual search
>>>> terms
>>>> are also temporal temporal conditions are ?
>>>>
>>>>  og .. Like this --->>  Vancouver 2010 or Vancouver <2010..
>>>>
>>>> Thank U
>>>> --
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/expand-the-search-tp27736795p27737011.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/expand-the-search-tp27736795p27738131.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: expand the search

Posted by Ian Lea <ia...@gmail.com>.
Index the year as a 4 character unanalyzed field and pass e.g.
year:{0000 TO 2010} to query parser along with your other terms..

See http://lucene.apache.org/java/3_0_0/queryparsersyntax.htm for the syntax.

If you aren't using the query parser, see javadocs for TermRangeQuery or
NumericRangeQuery.


--
Ian.

On Sun, Feb 28, 2010 at 6:31 PM, luciusvorenus
<lu...@hotmail.de> wrote:
>
>
> Thank U Ian.
>
> can you help me a little?  what exactly  I suposse to do?
>
> Br
> Lucius
>
> Ian Lea wrote:
>>
>> Sounds like a job for a range query.
>>
>>
>> --
>> Ian.
>>
>>
>> On Sun, Feb 28, 2010 at 5:59 PM, luciusvorenus
>> <lu...@hotmail.de> wrote:
>>>
>>> Hello
>>> how can I expand the search so that in addition to the actual search
>>> terms
>>> are also temporal temporal conditions are ?
>>>
>>>  og .. Like this --->>  Vancouver 2010 or Vancouver <2010..
>>>
>>> Thank U
>>> --
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/expand-the-search-tp27736795p27737011.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: expand the search

Posted by luciusvorenus <lu...@hotmail.de>.

Thank U Ian.

can you help me a little?  what exactly  I suposse to do?

Br
Lucius

Ian Lea wrote:
> 
> Sounds like a job for a range query.
> 
> 
> --
> Ian.
> 
> 
> On Sun, Feb 28, 2010 at 5:59 PM, luciusvorenus
> <lu...@hotmail.de> wrote:
>>
>> Hello
>> how can I expand the search so that in addition to the actual search
>> terms
>> are also temporal temporal conditions are ?
>>
>>  og .. Like this --->>  Vancouver 2010 or Vancouver <2010..
>>
>> Thank U
>> --
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/expand-the-search-tp27736795p27737011.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: expand the search

Posted by Ian Lea <ia...@gmail.com>.
Sounds like a job for a range query.


--
Ian.


On Sun, Feb 28, 2010 at 5:59 PM, luciusvorenus
<lu...@hotmail.de> wrote:
>
> Hello
> how can I expand the search so that in addition to the actual search terms
> are also temporal temporal conditions are ?
>
>  og .. Like this --->>  Vancouver 2010 or Vancouver <2010..
>
> Thank U
> --

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org