Re: PyLucene installation

2010-04-25 Thread grimbeaver
A quick search turned up Xapian.  Is that what you were thinking about
using?

I somewhat question the value of the search though.  If you know what
group the review was opened under and you know who opened the review
it's not difficult to find the review.  Plus it's not that frequent
that you go back and look at an old review.  I have my doubts that any
of my coworkers even are using it.

On Apr 25, 1:08 am, Christian Hammond chip...@chipx86.com wrote:
 I want to use something else. The problem is, the only good, extensive,
 performant search indexing systems are equally hard to install, and many
 actually require Lucene under the hood.

 There's a new project for doing search that may be easier to use, and I'm
 looking into switching to it (even worked on this for a bit) but it's still
 too immature. Hopefully in time we can offer support for things other than
 Lucene.

 Christian

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





 On Sat, Apr 24, 2010 at 6:01 AM, grimbeaver tbrez...@gmail.com wrote:
  I just went though installing PyLucene on a new server.  Thought I had
  it documented how I did it last time but I was missing a few steps.
  PyLucene is the biggest pain in the $# to install and I really wish
  they would use something else.

  On Apr 23, 1:21 pm, Titi Ala'ilima tigreti...@gmail.com wrote:
   In a followup to an old thread from last year (http://
   groups.google.com/group/reviewboard/browse_thread/thread/
   615b108947474d86?pli=1), I encountered this error while trying to
   install PyLucene:

   /usr/bin/python: module jcc has no associated file

   Like the OP, I am new to most things python and lucene.  The OP
   figured out the issue but then didn't give specifics.  I likewise
   figured it out eventually, so I figured I'd give a little more info in
   case it should help others.  It's more accurately a pylucene issue,
   but since it happened in the course of installing reviewboard for me
   as well, and since this came up at the top of my search even excluding
   reviewboard from the criteria, it seemed as good a place as any to
   record the info.

   In my case, I'm on CentOS 5.4 64-bit, Python 2.4, OpenJDK 1.6.
   setuptools 0.6c11.  Looking at the options in the Makefile, I picked
   the one that seemed to match the best:
   # Linux     (Ubuntu 8.10 64-bit, Python 2.5.2, OpenJDK 1.6, setuptools
   0.6c9)
   PREFIX_PYTHON=/usr
   ANT=ant
   PYTHON=$(PREFIX_PYTHON)/bin/python
   JCC=$(PYTHON) -m jcc --shared
   NUM_FILES=2

   Well it turns out that the python version impacts the JCC command
   significantly.  For my version of python, they suggested:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib/python2.4/site-packages/jcc/
   __init__.py

   But I didn't have my jcc files located there.  I had to pay attention
   to where the jcc installation placed the files.  What I ended up with
   was:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib64/python2.4/site-packages/JCC-2.5.1-
   py2.4-linux-x86_64.egg/jcc/__init__.py

   Hope this helps!

   Titi

   --
   Want to help the Review Board project? Donate today athttp://
 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.comreviewboard%2bunsubscr...@googlegr 
  oups.com
   For more options, visit this group athttp://
  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 athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr 
  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 
 athttp://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
 For more options, visit this group 
 athttp://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: PyLucene installation

2010-04-25 Thread Christian Hammond
Xapian is one of the big ones, yes.

You may not need to bother with search then, but there are
installations with thousands of users who make heavy use of search. I
would really like later to improve the search experience.

Christian

On Sunday, April 25, 2010, grimbeaver tbrez...@gmail.com wrote:
 A quick search turned up Xapian.  Is that what you were thinking about
 using?

 I somewhat question the value of the search though.  If you know what
 group the review was opened under and you know who opened the review
 it's not difficult to find the review.  Plus it's not that frequent
 that you go back and look at an old review.  I have my doubts that any
 of my coworkers even are using it.

 On Apr 25, 1:08 am, Christian Hammond chip...@chipx86.com wrote:
 I want to use something else. The problem is, the only good, extensive,
 performant search indexing systems are equally hard to install, and many
 actually require Lucene under the hood.

 There's a new project for doing search that may be easier to use, and I'm
 looking into switching to it (even worked on this for a bit) but it's still
 too immature. Hopefully in time we can offer support for things other than
 Lucene.

 Christian

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





 On Sat, Apr 24, 2010 at 6:01 AM, grimbeaver tbrez...@gmail.com wrote:
  I just went though installing PyLucene on a new server.  Thought I had
  it documented how I did it last time but I was missing a few steps.
  PyLucene is the biggest pain in the $# to install and I really wish
  they would use something else.

  On Apr 23, 1:21 pm, Titi Ala'ilima tigreti...@gmail.com wrote:
   In a followup to an old thread from last year (http://
   groups.google.com/group/reviewboard/browse_thread/thread/
   615b108947474d86?pli=1), I encountered this error while trying to
   install PyLucene:

   /usr/bin/python: module jcc has no associated file

   Like the OP, I am new to most things python and lucene.  The OP
   figured out the issue but then didn't give specifics.  I likewise
   figured it out eventually, so I figured I'd give a little more info in
   case it should help others.  It's more accurately a pylucene issue,
   but since it happened in the course of installing reviewboard for me
   as well, and since this came up at the top of my search even excluding
   reviewboard from the criteria, it seemed as good a place as any to
   record the info.

   In my case, I'm on CentOS 5.4 64-bit, Python 2.4, OpenJDK 1.6.
   setuptools 0.6c11.  Looking at the options in the Makefile, I picked
   the one that seemed to match the best:
   # Linux     (Ubuntu 8.10 64-bit, Python 2.5.2, OpenJDK 1.6, setuptools
   0.6c9)
   PREFIX_PYTHON=/usr
   ANT=ant
   PYTHON=$(PREFIX_PYTHON)/bin/python
   JCC=$(PYTHON) -m jcc --shared
   NUM_FILES=2

   Well it turns out that the python version impacts the JCC command
   significantly.  For my version of python, they suggested:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib/python2.4/site-packages/jcc/
   __init__.py

   But I didn't have my jcc files located there.  I had to pay attention
   to where the jcc installation placed the files.  What I ended up with
   was:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib64/python2.4/site-packages/JCC-2.5.1-
   py2.4-linux-x86_64.egg/jcc/__init__.py

   Hope this helps!

   Titi

   --
   Want to help the Review Board project? Donate today athttp://
 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.comreviewboard%2bunsubscr...@googlegr
   oups.com
   For more options, visit this group athttp://
  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 athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
   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 
 athttp://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
 For more options, visit this group 
 athttp://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