On May 27, 2009, at 4:56 PM, Yosvanys Aponte wrote:
i undestand what you say
but the problem i have is
user can make query like this:
//tei.2//p"[quijote"]
A couple of problems with this... for one, there's no query parser
that'll interpret that syntax as you mean it in Solr. And also,
indexing the hierarchical structure (of TEI, which I'm painfully
familiar with) requires flattening or doing lots of overlapped
indexing of fields that represent the hierarchy at various levels.
In my experience with the TEI domain, users don't *really* want to
query like that even though they'll say they do because it's the only
way they're used to doing it.
Perhaps step back and ask yourself and your users what is really
desired from the search application you're building. What's the
goal? What needs to displayed? What type of query entry form will
they be typing into?
Erik