You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Searches the index for query specified by string.
*
* @param query String with the query
* @param print if true, results will be printed to standard output
* @param offset index of the first retrieved result
* @param limit number of results to retrieve
* @param debug if true, results will contain debugging information
*
* @return Search result
*/
public SearchResult search(String query, boolean print, int offset, int limit, boolean debug) {
return search(query, print, offset, limit, debug, MathTokenizer.MathMLType.BOTH);
}
Am I on the right track? It is giving me an error however:
Exception in thread "main" java.lang.IllegalArgumentException: expected '>' at position 59
at org.apache.lucene.util.automaton.RegExp.parseSimpleExp(RegExp.java:1128)
at org.apache.lucene.util.automaton.RegExp.parseCharClassExp(RegExp.java:1091)
at org.apache.lucene.util.automaton.RegExp.parseComplExp(RegExp.java:1079)
at org.apache.lucene.util.automaton.RegExp.parseRepeatExp(RegExp.java:1048)
at org.apache.lucene.util.automaton.RegExp.parseConcatExp(RegExp.java:1041
The text was updated successfully, but these errors were encountered:
For the method:
What does the query string look like?
I am sending it something like this:
Am I on the right track? It is giving me an error however:
The text was updated successfully, but these errors were encountered: