what date format to pass for search in Solr?

2009-06-16 Thread chem leakhina
Hi
Does anyone know what date format pass to search in Solr?
Could you give me any examples for search with Date in solr?

Regards,
Leahina


How to index data without token in Solr

2009-06-09 Thread chem leakhina
Hi all,
I am very new in Solr and I want to use Solr to index data without token to
match with my search.
Does anyone know how to index data without token in Solr?
if possible, can you give me an example?

Thanks in advance,
LEE


Re: How to index data without token in Solr

2009-06-09 Thread chem leakhina
That's fine, now I've got solution for this.

Thanks any way

On Wed, Jun 10, 2009 at 12:29 PM, Otis Gospodnetic <
otis_gospodne...@yahoo.com> wrote:

>
> Hello,
>
> I don't follow the "index data without token to match with my search" part.
>  Could you please give an example of what you mean?
>
>  Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message 
> > From: chem leakhina 
> > To: solr-user@lucene.apache.org
> > Sent: Tuesday, June 9, 2009 10:06:35 PM
> > Subject: How to index data without token in Solr
> >
> > Hi all,
> > I am very new in Solr and I want to use Solr to index data without token
> to
> > match with my search.
> > Does anyone know how to index data without token in Solr?
> > if possible, can you give me an example?
> >
> > Thanks in advance,
> > LEE
>
>


How to search date

2009-06-09 Thread chem leakhina
Hi,
Could you tell me how to make query to search Date with these conditions:

Before, After, Between, All

Could you please write some example for me?

Regards,
LEE


How to search date in Solr

2009-06-09 Thread chem leakhina
Hi,
Could you tell me how to make query to search Date in Solr with these
conditions:

Before, After, Between, All

Could you please write some example for me?

Regards,
LEE


Re: How to search date in Solr

2009-06-09 Thread chem leakhina
Thanks Otis

On Wed, Jun 10, 2009 at 1:32 PM, Otis Gospodnetic <
otis_gospodne...@yahoo.com> wrote:

>
> Hello,
>
> These are all done with range queries.  They tend to look like this:
>
> &q=add_date:[BeginDateHere TO EndDateHere]
>
>
> You can use * for either BeginDateHere or EndDateHere to get the
> "before/after" effect.
>
> "All" is just q=*:*
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message 
> > From: chem leakhina 
> > To: solr-user@lucene.apache.org
> > Sent: Wednesday, June 10, 2009 2:28:46 AM
> > Subject: How to search date in Solr
> >
> > Hi,
> > Could you tell me how to make query to search Date in Solr with these
> > conditions:
> >
> > Before, After, Between, All
> >
> > Could you please write some example for me?
> >
> > Regards,
> > LEE
>
>


How to use Lucene Query Syntax in Solr

2009-06-10 Thread chem leakhina
Hi

Could you please tell me about how to use Lucene Query Syntax in Solr?
My query example is that, I want to use wild card (*) with phrase.

For example:

I have field *text* and I want to search like *text:"Cam* Yel*"* to match
with Cambodia Yellow or like *text:"Cambodia yel*"*

Please help to give me detail examples because I am very new with Luene and
Solr.

Best regards,
Lee


How to copyFeild to reverse string in another field

2009-06-11 Thread chem leakhina
Hi

How can I use copyField to copy field that contains normal text to another
field and that field contains as reversed text?

Best regards,
Lee


How to use offset and limit in Solr

2009-06-11 Thread chem leakhina
Hi

How can I use offset or limit in Solr?
Could you give some examples?

Best regards,
LEE


Re: How to use offset and limit in Solr

2009-06-11 Thread chem leakhina
Thanks

On Thu, Jun 11, 2009 at 3:29 PM, Markus Jelsma - Buyways B.V. <
mar...@buyways.nl> wrote:

> Use start and rows instead. See the common query parameters
>
> http://wiki.apache.org/solr/CommonQueryParameters
>
> -
> Markus Jelsma  Buyways B.V. Tel. 050-3118123
> Technisch ArchitectFriesestraatweg 215c Fax. 050-3118124
> http://www.buyways.nl  9743 AD GroningenKvK  01074105
>
>
> On Thu, 2009-06-11 at 15:23 +0700, chem leakhina wrote:
>
> > Hi
> >
> > How can I use offset or limit in Solr?
> > Could you give some examples?
> >
> > Best regards,
> > LEE
>


How to allow case insensitive in Solr

2009-06-16 Thread chem leakhina
Hi everyone,How can I allow Solr to search for all cases like upper case or
lower case in Solr?
Best regards,
Leakhina


Re: How to allow case insensitive in Solr

2009-06-16 Thread chem leakhina
So when I use LowerCaseFilterFactory, I can search with upper case and lower
case right?

On Tue, Jun 16, 2009 at 3:44 PM, Markus Jelsma - Buyways B.V. <
mar...@buyways.nl> wrote:

> hi,
>
>
> You can create a field with class="Solr.TextField" which needs a
> LowerCaseFilterFactory in the index and query analyzers e.g.
>
>
>
> class="solr.WhitespaceTokenizerFactory"/>
> class="solr.LowerCaseFilterFactory"/>
>
>
>
> class="solr.WhitespaceTokenizerFactory"/>
> class="solr.LowerCaseFilterFactory"/>
>
>
>
> This will allow for case insensitive searches.
>
> regards,
>
> -
> Markus Jelsma  Buyways B.V. Tel. 050-3118123
> Technisch ArchitectFriesestraatweg 215c Fax. 050-3118124
> http://www.buyways.nl  9743 AD GroningenKvK  01074105
>
>
> On Tue, 2009-06-16 at 15:18 +0700, chem leakhina wrote:
>
> > Hi everyone,How can I allow Solr to search for all cases like upper case
> or
> > lower case in Solr?
> > Best regards,
> > Leakhina
>