Re: Overall

2008-06-09 Thread Dom Stockdale

Hi Mihails,

I don't know about points 1 and 2 as I'm just starting with Solr but  
for point 3 you need to understand that Solr is just going to return  
xml for your queries so you can use any web language to parse the xml  
of the results. It might return other formats like json as  well,  
haven't figured this out yet but it's not intended to give you a full  
blown web page that's up to you to do it'll just give you the data.


- d

On 9 Jun 2008, at 11:06, Mihails Agafonovs wrote:


1) ok
2) This means developing some custom program, so there is no such
functionality in Solr :(
3) I have some connection problems and I really can't load these
mailing list archives at all! Anyway, I want to understand, how can I
use Solr in my site or any other usage?
Quoting Umar Shah : 2008/6/9 Mihails Agafonovs :

Hi!

Some questions:
1) Is it possible to make Solr to use, for example, MySQL

database,

or it only supports *.xml files as a database?

you can use DataImportHandler to  index from MySql (or other
databases)


2) Is there a way to add data in the search database using some
online interface, or the only way is manually adding the data in

the

*.xml files?

you can generate the XMLs from a program  that can read from the
data source
or
use some of the solr clients  (java, python, ruby) to update  the
index
using the provided APIs.


3) Is there any guide on how to implement Solr to the web-site?

whatever you have is in the wiki and the mailing archives, if you
cant find
it there, I am afraid it is not  available.


Ar cieņu, Mihails

Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]


--
Dominic Stockdale
[EMAIL PROTECTED]
+44(0)1273 311407
+44(0)7886 654562
skype: domonline






setAllowLeadingWildcard

2008-06-09 Thread Dom Stockdale

Hello list,

I really need to setAllowLeadingWildcard to true and I'm wondering if  
you can advise me on the best way to do this. I am a newbie so forgive  
me if I'm being a dummy.


I've established that it's not set-able in the 1.2.0 version which  
seems to be quite old so I've  been looking through trunk to see  
what's what there and it seems now to be an option however the current  
version in trunk appears to be broken.


Doesn't anyone know a revision number from svn that might be working  
and where setAllowLeadingWildcard is set-able?


Is there another way I can set setAllowLeadingWildcard to true if I'm  
trying to do this the wrong way?


Thanks

- Dom