madhi - 2007-07-18

I have configured lxr 0.2 and glimpse 4.18 to index my source code(C&CPP) under Linux (SLES 9) with root privileges. File search & identifier works fine.The problem is that I am not able to work with free text search. Free text shows “ , line –“  as the result.

The configuration of my lxr conf goes like this

# Configuration file.

# Define typed variable "v", read valueset from file.
variable: v, Version, [/local/lxr/source/versions], [/local/lxr/source/defversion]

# Define typed variable "a".  First value is default.
variable: a, Architecture, (i386, alpha, m68k, mips, ppc, sparc, sparc64)

# Define the base url for the LXR files.
baseurl: http://localhost/lxr/http/

# These are the templates for the HTML heading, directory listing and
# footer, respectively.

htmlhead: /var/www/html/lxr/http/template-head
htmltail: /var/www/html/lxr/http/template-tail
htmldir:  /var/www/html/lxr/http/template-dir

# The source is here.
  sourceroot: /var/www/html/lxr/source/rep/

srcrootname: Code-Path

# "#include <foo.h>" is mapped to this directory (in the LXR source
# tree)
incprefix: /include

# The database files go here.
dbdir: /var/www/html/lxr/source/

# Glimpse can be found here. 
  glimpsebin: /local/bin/glimpse/bin

# The power of regexps.  This is pretty Linux-specific, but quite
# useful.  Tinker with it and see what it does.  (How's that for
# documentation?)
map: /include/asm[^\/]*/ /include/asm-$a/
map: /arch/[^\/]+/ /arch/$a/