Re: Indexing works but search doesn't with PyLucene 2.9.3

2010-07-26 Thread Christian Hammond
Hi Chris,

I've looked into Haystack a bit. I think it's a good thing to switch over to
in a future release. Last I looked at it, it was still a little immature,
but I'm sure it's improved since then. I can't say when it'd make a release
of Review Board. Probably not 1.6, as that release is already looking more
full than I'd like (going to have to split it up so we can get it out
sooner) but maybe after, unless someone wants to tackle this project.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Jul 26, 2010 at 12:14 PM, Chris Clark wrote:

> Christian Hammond wrote:
>
>> Yeah, the 2.9.x (which is a pre-release for 3.0) is incompatible. The
>> previous series before that should be compatible.
>>
>> We have a patch that provides 3.0 compatibility, but does not retain 2.x
>> compatibility. I'll work at getting a version of this in for 1.5.
>>
>
> It sounds like search will be PyLucene based for the next release? There
> was discussion on maybe using Haystacks
> http://groups.google.com/group/reviewboard/msg/d55953719b904c43
>
> I don't have a strong opinion on this (I don't us search otherwise I'd
> probably be working on this). If extra work is needed is it worth working on
> Haystack support instead? Based on the little I've seen Haystack shouldn't
> be that hard to pull in, i.e. could well be less work than fixing the native
> PyLucene support + it supports additional indexers which would make
> deployment/install easier too.
>
> Chris
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Indexing works but search doesn't with PyLucene 2.9.3

2010-07-26 Thread Chris Clark

Christian Hammond wrote:
Yeah, the 2.9.x (which is a pre-release for 3.0) is incompatible. The 
previous series before that should be compatible.


We have a patch that provides 3.0 compatibility, but does not retain 
2.x compatibility. I'll work at getting a version of this in for 1.5.


It sounds like search will be PyLucene based for the next release? There 
was discussion on maybe using Haystacks 
http://groups.google.com/group/reviewboard/msg/d55953719b904c43


I don't have a strong opinion on this (I don't us search otherwise I'd 
probably be working on this). If extra work is needed is it worth 
working on Haystack support instead? Based on the little I've seen 
Haystack shouldn't be that hard to pull in, i.e. could well be less work 
than fixing the native PyLucene support + it supports additional 
indexers which would make deployment/install easier too.


Chris

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Indexing works but search doesn't with PyLucene 2.9.3

2010-07-26 Thread Ian
PyLucene 2.4.1-2 looks to be the latest version before 2.9.x.  I got
that installed and search is working great now; thanks!

Ian

On Jul 25, 6:20 pm, Christian Hammond  wrote:
> Yeah, the 2.9.x (which is a pre-release for 3.0) is incompatible. The
> previous series before that should be compatible.
>
> We have a patch that provides 3.0 compatibility, but does not retain 2.x
> compatibility. I'll work at getting a version of this in for 1.5.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
> On Sun, Jul 25, 2010 at 4:59 AM, Ian  wrote:
> > I downloaded, built, and installed PyLucene 2.9.3 on Mac OS X Server
> > 10.6.4.  That all seemed to go fine, and "make test" said everything
> > was working too.  sudo rb-site manage /path/to/my/site index -- --full
> > worked just file, and I was able to enable searching in the admin
> > interface.  But actually doing a search fails, I get a 500 error and
> > this message emailed to me.  Any ideas?  Is 2.9.3 too new of a version
> > of PyLucene?
>
> > Ian
>
> > ERROR:root:Exception thrown for user admin at
> >http://mailx.apple.com/codereviews/r/search/?q=test
>
> > Document>
> > Traceback (most recent call last):
> >  File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/
> > django/core/handlers/base.py", line 100, in get_response
> >    response = callback(request, *callback_args, **callback_kwargs)
> >  File "/Library/Python/2.6/site-packages/ReviewBoard-1.0.9-py2.6.egg/
> > reviewboard/reviews/views.py", line 736, in search
> >    for hit in searcher.search(parser.parse(query))]
> > TypeError: Document>
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com > oups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Indexing works but search doesn't with PyLucene 2.9.3

2010-07-25 Thread Christian Hammond
Yeah, the 2.9.x (which is a pre-release for 3.0) is incompatible. The
previous series before that should be compatible.

We have a patch that provides 3.0 compatibility, but does not retain 2.x
compatibility. I'll work at getting a version of this in for 1.5.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sun, Jul 25, 2010 at 4:59 AM, Ian  wrote:

> I downloaded, built, and installed PyLucene 2.9.3 on Mac OS X Server
> 10.6.4.  That all seemed to go fine, and "make test" said everything
> was working too.  sudo rb-site manage /path/to/my/site index -- --full
> worked just file, and I was able to enable searching in the admin
> interface.  But actually doing a search fails, I get a 500 error and
> this message emailed to me.  Any ideas?  Is 2.9.3 too new of a version
> of PyLucene?
>
> Ian
>
> ERROR:root:Exception thrown for user admin at
> http://mailx.apple.com/codereviews/r/search/?q=test
>
> Document>
> Traceback (most recent call last):
>  File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/
> django/core/handlers/base.py", line 100, in get_response
>response = callback(request, *callback_args, **callback_kwargs)
>  File "/Library/Python/2.6/site-packages/ReviewBoard-1.0.9-py2.6.egg/
> reviewboard/reviews/views.py", line 736, in search
>for hit in searcher.search(parser.parse(query))]
> TypeError: Document>
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Indexing works but search doesn't with PyLucene 2.9.3

2010-07-25 Thread Ian
I downloaded, built, and installed PyLucene 2.9.3 on Mac OS X Server
10.6.4.  That all seemed to go fine, and "make test" said everything
was working too.  sudo rb-site manage /path/to/my/site index -- --full
worked just file, and I was able to enable searching in the admin
interface.  But actually doing a search fails, I get a 500 error and
this message emailed to me.  Any ideas?  Is 2.9.3 too new of a version
of PyLucene?

Ian

ERROR:root:Exception thrown for user admin at
http://mailx.apple.com/codereviews/r/search/?q=test

Document>
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/
django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
  File "/Library/Python/2.6/site-packages/ReviewBoard-1.0.9-py2.6.egg/
reviewboard/reviews/views.py", line 736, in search
for hit in searcher.search(parser.parse(query))]
TypeError: Document>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en