-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Zend Lucene and Java Lucene are built in PHP and java repectively, and PHP language has a higher level than java.
Just wondering How big the performance difference among these two, regarding to index building and data searching?
Is it much more effective to let java create and rebuild index, and…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've read some Jira entries and they mentioned moving fast-vector-highlighter to core about a year ago but it never made it.
Looking at the svn for contrib it seems incomplete.
There are no tests for FastVectorHighlighter
Documentation is lacking
No samples anywhere on apache.org
Anyone have…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to install Pylucene (pylucene-3.3-3-src.tar.gz) on my ubuntu linux 11.10.
I have python 2.7.2. I was able to compile JCC (I think) because I didnt see any error when I installed it. When I tried to install Pylucene I get the following error. Can someone help? Thanks.
ICU not installed
/usr/bin/python…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to get the Highlighter class from Lucene to work properly with tokens coming from Solr's WordDelimiterFilter. It works 90% of the time, but if the matching text contains a ',' such as "1,500" the output is incorrect:
Expected: 'test 1,500 this'
Observed: 'test 11,500 this'
I…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How to handle this error in lucene:
java.lang.AbstractMethodError: org.apache.lucene.store.Directory.listAll()[Ljava/lang/String;
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:568)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
I'm searching for an algorithm to calculate the average distance between a point and a line segment in 3D. So given two points A(x1, y1, z1) and B(x2, y2, z2) that represent line segment AB, and a third point C(x3, y3, z3), what is the average distance between each point on AB to point…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using Structure and have a "Supernav" page with multiple children that will make up the supernav for the site. I thought this would be a nice way to have all pages on the site accessible to the client via one location: the Structure UI.
If you visit any of the child pages in the "supernav"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My htaccess redirect knowledge is somewhat weak, so I was hoping to get some help here.
I currently have the following redirect, which works well:
# remove trailing slash
RewriteRule ^(.*)/$ /$1 [L,R=301]
# redirect to clean URL
RewriteCond /%{REQUEST_FILENAME}.php -f
RewriteRule ^([a-zA-Z0-9_-\s]+)$…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a segmented control with 3 defined segments. i am looking to capture the segment index so I can use it in an if statement to update variables accordingly as such:
-(IBAction)numPlayers:(id)sender;
{
numPlayersSegment = [(UISegmentedControl *)sender retain];
if (numPlayersSegment.selectedSegmentIndex…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm trying to run heathusf_v1.1.0.tar.gz found here
I installed tcsh to make build_heathusf work. But, when I run ./build_heathusf, I get the following (I'm running that on a Fedora Linux system from Terminal):
$ ./build_heathusf
Compiling programs to build a library of image processing functions…
>>> More