Do you use Lucene or Doctrines Searchable-behavior?

On 2 Jun., 17:06, f1gm3nt <[email protected]> wrote:
> I'm using it for one of my web sites, I used the example that was
> included in the tutorial, then customized it to what I need. Need to
> go over it again see if I can optimize it any.
>
> I also made 2 symfony tasks, the first rebuilt the index and the
> second optimized it.
>
> As mentioned before, it can be a little slow but found that using
> optimize helped it a little.
>
> -f1g
>
> On Jun 2, 6:27 am, comb <[email protected]> wrote:
>
> > Thanks!
>
> > I'm going for the doctrine searchable behavior.
>
> > Here is what I found useful to keep in mind for maybe later purpose:
>
> > This thread 
> > here:http://groups.google.com/group/symfony-users/browse_thread/thread/8c2...
> > Doctrine Behavior 
> > Searchable:http://www.doctrine-project.org/projects/orm/1.2/docs/manual/searchin...
>
> > Thanks to all!
> > comb
>
> > On 2 Jun., 08:02, pghoratiu <[email protected]> wrote:
>
> > > > @pghoratiu: Yeah I know about Solr, but I cannot use it, like I wrote
> > > > in the first post :-(
>
> > > > Is there an alternative PHP-Search-Engine to Zend Lucene?
>
> > > ====
> > > Sphinx is a good alternative, I did not use it personally but my
> > > colleagues have and they are content with it.
>
> > > It very much depends on what exactly you try to accomplish, maybe the
> > > in-database search is
> > > enough for you if you have a small data set and have no special
> > > requirements for the free text search part.
> > > If this is the case you may consider also:
> > >   - MySQL Free text search.
> > >   - Doctrine Searchable behavio
>
> > >    gabriel
>
> > > > On 1 Jun., 21:53, pghoratiu <[email protected]> wrote:
>
> > > > > Lucene is not slow, only the Zend PHP re-implementation of the Lucene
> > > > > file format + search.
> > > > > In my opinion it's close to unusable for real life scenarios (large
> > > > > data set, fast indexing ...).
> > > > > It probably would work ok for a small dataset such as < 10000.
>
> > > > > I recomend Solr as alternative which is Java Lucene service + XML API
> > > > > for access (and much more).
>
> > > > > As for the search part you need to define your exact document model,
> > > > > the basic entity used in search is the document
> > > > > that has several properties. There is usually one field to be used for
> > > > > full text search and several other fields that
> > > > > you use for structured search (e.g. date, tags).
>
> > > > >     gabriel
>
> > > > > On Jun 1, 8:13 pm, comb <[email protected]> wrote:
>
> > > > > > Hi!
>
> > > > > > I have 5 different Models that I want to be searchable.
> > > > > > I don't know, how to implement the search right now. First thing I
> > > > > > think of is Zend Lucene, but I read several times, that the
> > > > > > performance is bad (cannot use the java implementation).
>
> > > > > > No my question is: where is the limit of Zend Lucene? I expect about
> > > > > > 1000-10.000 records per Model and a maximum of 100 search-requests 
> > > > > > per
> > > > > > minute. (probably 1-10 per minute average)
> > > > > > Can Zend Lucene handle that amount?
>
> > > > > > Is there an other (PHP-)library that I could do the searching with, 
> > > > > > if
> > > > > > Lucene is to slow?
>
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to